* Re: how to monitor swap usage
1996-01-18 5:00 how to monitor swap usage Tony Chung
@ 1996-01-18 5:00 ` Seung-Jo Baek.
1996-01-18 5:00 ` Dan Pop
1 sibling, 0 replies; 3+ messages in thread
From: Seung-Jo Baek. @ 1996-01-18 5:00 UTC (permalink / raw)
Tony Chung wrote:
>
> Normally, on SunOS, you use vmstat to monitor
> swap usage.
>
> What about on alpha-dec-osf?
>
> man -k swap or the sys adm book has no
> information at all.
>
> Thanks.
>
Same command "vmstat" exist in Digital Unix(OSF/1 V3.2C).
% vmstat
Virtual Memory Statistics: (pagesize = 8192)
procs memory pages intr cpu
r w u act free wire fault cow zero react pin pout in sy cs us
sy id
2 44 13 5111 1117 1105 149K 18K 96K 1870 10K 429 8 212 293 1
1 98
Or, system admin utility like "vmubc" is available from DEC ftp server.
Followings are README file from vmubc packages.
-------- README for Vmubc-----------------
This directory contains source and executables for vmubc. vmubc
displays
Universal Buffer Cache, CPU and VM statistics, updating every second.
You must be root to install this!
vmubc displays CPU utilization for SMP systems -- this means that
an executable built for DEC OSF/1 V2.x will NOT work correctly on
DEC OSF/1 V3.0, as the V2.x system header files don't define the
appropriate data structures. Oddly enough, an executable built on
DEC OSF/1 V3.0 will work correctly on DEC OSF/1 V2.x.
If you're root, VmUBC will run just fine in *this* directory, or it
can be installed so that anyone on the system can run it.
Type "make install" to install it in on your system -- you must be
root to install it. "make install" does the following:
cp vmubc.uid /usr/lib/X11/uid/vmubc.uid
chmod 444 /usr/lib/X11/uid/vmubc.uid
cp vmubc /usr/bin/X11/vmubc
chmod 2555 /usr/bin/X11/vmubc
chown root:mem /usr/bin/X11/vmubc
vmubc can also generate output to a tty instead of an X11 display; the
-tty option enables this.
Modification history:
V1.30:
Added -tty option (text output to file), per suggestion of
Jarkko Hietaniemi, Helsinki University of Technology.
V1.31:
Added configuration command-line options. vmubc -h will list them.
V1.32:
Check for divide-by-zero in CPU time computation.
Flush output file in -tty mode after each line.
V1.33:
Change text output so that k = 2^10 rather than 1000.
Added support for m = 2^20 format in text output.
Add <CR> to option listing
V1.34
Modified system.c to allow compilation on OSF/1 V2.0.
Modified system.c to allow for kernels that aren't named /vmunix.
per suggestion of Prof. Peter M. Chen, University of Michigan
V1.35
Fixed bug which caused Xtoolkit options such as -fg to be ignored.
Fixed bug which incorrectly parsed argv[0], per suggestion of Detlef
Schmier.
Modified uil to get around problems with XmForm widget when font
size is too large.
------------------END----------
Have a nice day~~
--
==============================================================================
Pohang University of Science and Technology(POSTECH), Pohang, 790-784,
Korea
Department of Mechanical Engineering, Experimental Fluid Mechanics LAB.
Seung-Jo. Baek
E-mail : sjbaek@andante.postech.ac.kr
sjbaek@vivace.postech.ac.kr
==============================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread