System information

Index
© 2006 Intuit Inc. All rights reserved. 147
Command Description and Example
df -k
Displays file system statistics (file system names may vary).
Example:
root:/# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 49152 35056 29% 1267 6% /
/dev/hd2 311296 51412 84% 10949 15% /usr
/dev/hd9var 212992 201976 6% 294 1% /var
/dev/hd3 212992 205792 4% 74 1% /tmp
/dev/hd1 16384 15808 4% 44 2% /home
/dev/lv00 5451776 1806472 67% 32762 3% /u2
echo $TERM
Displays your console terminal emulation.
For 3153, should be wyse50.
For 3151, should be ibm3151.
export
TERM=wyse50
Sets terminal emulation (brings you back to the # sign).
touch /etc/nologin
Prevenst users from logging into the system (brings you back to the # sign).
vmstat 2 7
Issue a vmstat every 2 seconds for a total of 7 times.
kthr memory page faults cpu
---- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
0 1 205811 375 0 0 0 92 240 0 268 374 247 22 27 32 20
0 2 205811 122 0 0 0 13 36 0 620 19000 745 42 11 3 44
1 2 205811 125 0 0 0 139 265 0 484 19921 841 16 10 26 48
1 2 205858 120 0 1 0 230 373 0 588 21732 1031 11 14 22 53
0 3 205905 123 0 4 0 294 476 0 649 20922 1127 14 15 8 63
3 2 208769 330 0 6 0 1698 3753 0 603 39660 1234 30 30 9 31
2 3 206121 2233 0 4 0 0 0 0 708 30541 1077 55 15 2 28
page heading: the pi and po columns < 5
cpu heading: the us and sy columns combined equally system cpu usage percentage. id is idle
cpu percentage. wa is waiting on disk i/o.