Control system


 
Thread Tools Search this Thread
Operating Systems Solaris Control system
# 1  
Old 03-17-2006
Control system

I want to check system memory
Usage of CPU and disk and report number of free disk block in Sun Solaris
How can I do
Help me
thks
# 2  
Old 03-17-2006
sar will show you CPU, memory utilization, and disk I/O
(man sar)

$ df -k

will show you free blocks and percentage of mounted filesystems
for non-root users.

If you need to find out unallocated blocks of disks
(or if you also need to find out raw device allocations)
you would have to inspect the disks' vtocs,
which involves a bit of block arithmetics on your behalf
(best to be put in a script)
For instance you could have a glance at what your disks' vtocs look like
(but beware if you have alternate paths not to count twice)
by e.g.

# echo|format|sed 's,.*\(c[0-9]*t[0-9]*d[0-9]*\).*,/dev/rdsk/\1s2,'|grep dsk|xargs prtvtoc|more

Note, the 2nd slice of BSD like disk labels (Solaris inherited from BSD because it was an offspring) refers to the whole disk (man prtvtoc)

Last edited by RTM; 03-17-2006 at 11:53 AM.. Reason: Remove opinion of HPUX versus Solaris - see rule 8
# 3  
Old 03-19-2006
To view CPU and Memory utilisation over a 10 second period (as well as other stats)...

vmstat 1 10

man vmstat

Cheers
ZB
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. AIX

/tmp/man18809436: Invalid file system control data detected

/tmp/man18809436: Invalid file system control data detected Help me what do I do? Если знаете русскии, пишите на нем. (2 Replies)
Discussion started by: islily
2 Replies

2. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies

3. UNIX for Advanced & Expert Users

Revision Control System

We've recently migrated from Unix to Linux, and unfortunately one of the command 'chown' is turned down on the new environment. My dilemma is that whenever a user co (check-out), on new environment, scripts from RCS it overwrites the file ownership from the group ID to himself, and whenever he... (8 Replies)
Discussion started by: sethmj
8 Replies

4. Solaris

root password for system maintenance (control-d to bypass)

I have message "root password for system maintenance (control-d to bypass)" after Solaris 10 boots up. Why it appears ? thx for help. (3 Replies)
Discussion started by: presul
3 Replies

5. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

6. UNIX for Dummies Questions & Answers

Raid control vs scsi for operating system

I was trying to get a server using a raid controller card up and running. I could not get the card configured right so i just installed the system strait onto a scsi drive. Questions? Is is nescessary to have the operating system on raid? Pros/Cons Is it really difficult to go back later... (1 Reply)
Discussion started by: macdonto
1 Replies
Login or Register to Ask a Question