[root@unix_srv1 root]# swapinfo -t
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 4149496 44808 99% 0 - 1 /dev/vg00/lvol2
dev 8384512 1000272 7384240 12% 0 - 2 /dev/vg03/lvol1
dev 8384512 1029924 7354588 12% 0 - 2 /dev/vg03/lvol2
reserve - 12118200 -12118200
memory 13059784 2880056 10179728 22%
total 34023112 21177948 12845164 62% - 0 -
[root@unix_srv1 root]# vmstat 1 6
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
7 0 0 2307190 249357 584 484 11 15 0 0 52 8106 55961 6824 52 16 31
7 0 0 2307190 247209 383 233 50 0 0 0 231 4782 53993 5288 80 19 1
7 0 0 2307190 249481 558 441 40 0 0 0 184 4855 58674 5312 71 29 0
7 0 0 2307190 246198 701 651 35 0 0 0 147 5197 63927 5689 76 24 0
7 0 0 2307190 246198 877 686 29 0 0 0 117 5172 63334 5480 80 20 0
7 0 0 2307190 247212 834 587 23 0 0 0 93 5453 63170 5747 66 26 8
Hmmm... the CPU idle is going all over the place right now. I ran 'vmstat' a few times and idle has ranged from 0-100. The swap usage is steadily increasing as system performance is dropping.
Last edited by Perderabo; 07-21-2005 at 05:55 PM..
Reason: Add code tags for readability
how can i do that in a script withough havin the script halt at the section where the top command is located. am writign a script that will send me the out put of unx commands if the load average of a machine goes beyond the recommended number.
top -n 20
i want to save this output to a file... (1 Reply)
Is there a command in SCO Unix that does the same as the top command in HPUX. The command displays the jobs using the most system resources.
Thanks You (0 Replies)
https://www.unix.com/showpost.php?p=98416&postcount=8
Referring to the post above... what is the unit that is measured in the TOP command under LOAD? (1 Reply)
Hey guys, the top format in HP-UX has the size which is the total virtual size and the res which is the resident size. What are these size and res? (1 Reply)
help! i need help with locating where a program is being run from. when i type top -i it only lists the name and minimal info, not the programs location from where it is being ran. i ask because i just used the same named executable, a.exe for all the processes and have lost the schedule detailing... (4 Replies)
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
Currently when i run top command i get the following columns .
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
In this how to remove '%WCPU' column ?
Thanks very much in advance . (6 Replies)
Hi All,
i am using the below command and once get the output and i need to keep the
first batch only.in this case how to do this one. please help me on thistop -b -n 5 >top.txt
Thanks, (3 Replies)
Discussion started by: bmk
3 Replies
LEARN ABOUT SUNOS
port
MEM(4) Linux Programmer's Manual MEM(4)NAME
mem, kmem, port - system memory, kernel memory and system ports
DESCRIPTION
/dev/mem is a character device file that is an image of the main memory of the computer. It may be used, for example, to examine (and even
patch) the system.
Byte addresses in /dev/mem are interpreted as physical memory addresses. References to nonexistent locations cause errors to be returned.
Examining and patching is likely to lead to unexpected results when read-only or write-only bits are present.
Since Linux 2.6.26, and depending on the architecture, the CONFIG_STRICT_DEVMEM kernel configuration option limits the areas which can be
accessed through this file. For example: on x86, RAM access is not allowed but accessing memory-mapped PCI regions is.
It is typically created by:
mknod -m 660 /dev/mem c 1 1
chown root:kmem /dev/mem
The file /dev/kmem is the same as /dev/mem, except that the kernel virtual memory rather than physical memory is accessed. Since Linux
2.6.26, this file is available only if the CONFIG_DEVKMEM kernel configuration option is enabled.
It is typically created by:
mknod -m 640 /dev/kmem c 1 2
chown root:kmem /dev/kmem
/dev/port is similar to /dev/mem, but the I/O ports are accessed.
It is typically created by:
mknod -m 660 /dev/port c 1 4
chown root:kmem /dev/port
FILES
/dev/mem
/dev/kmem
/dev/port
SEE ALSO chown(1), mknod(1), ioperm(2)COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2015-01-02 MEM(4)