Problem in getting total Disk space using iostat -En command
Hi Everyone,
I try to calculate the total hard disk space of a solaris machine using iostat -En command. Iterating the output and summing up all the number present near the Size: will give the exact size of the harddisk. But it is not working for a machine.
This command works in many flavors of solaris. This specific issue is with solaris 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V890.
Have attached the sample output of the iostat command's output.
Actual size of the machine is 12272.8 GB, but what i got is 25809 GB.
Kindly let me know, whether the way i calucalating the total hard disk size is wrong or is there any way to remove duplicates from the output and getting the exact size.
Since the output is too longs, i have copied the sample output,
Kindly let me know if there any other way to get the harddisk size by any other commands.
Thanks,
Prasanna
Last edited by DukeNuke2; 08-05-2013 at 02:36 AM..
Reason: code tags
Given this directory /web
I need to get the current usage (in %) on Linux and Unix both using the same command on bash shell ?
The command i tried was working on Unix (solaris) but does not filter the desired same value when run of Linux.
My command df -h /web | awk '{print $5}' | sed -n... (5 Replies)
I wanted to know the Red Hat Linux command for cumulative disk space usage and the free space as df -h gives used and free space individually for the drives. Or, a command to check free space on the server would also be fine.
I hope, my question is clear.
Please revert with the reply to my... (2 Replies)
Hi All
Currently i had a server directly connect to the EMC box.
The EMC storage is a FC Direct Attached Storage to the server without going through SAN switches
And i had download the Daily data file in /var/adm/sa/sardd
But i not sure which one in /var/adm/sa/sardd is the correct... (14 Replies)
Hi experts,
In my solaris system when i run the command df -h i got the below response.I have some confusion which i want to share with you guys.1)there are two SWAP file system shows are they same or different?2)if i want to count the total disk space should i take both the swap space or only... (2 Replies)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Hello,
On Solaris 10, iostat -E gives me the following results:
sd1 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0708S08M2L
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0... (1 Reply)
Hi,
I see from lsvg the total used PPs is 1050 (67200 megabytes), but when I check the disk space with df command I can only see 31G total space, can somebody tell how this come?
Thanks!
Victor
# lsvg
rootvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: ... (2 Replies)
i am a fresh person learning sco open server 5.5:confused:
how should i know that how much space is occupied & how much is free on a particular partition?please help (1 Reply)