12-02-2008
top -i will not work on HP-UX.
vmstat will give you cpu and memory info.
10 More Discussions You Might Find Interesting
1. Programming
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
2. Shell Programming and Scripting
Hi,
How do i get the swap space used and cpu usage for a particular application ?
thanks
una (2 Replies)
Discussion started by: una
2 Replies
3. Programming
Please tell me solaris functions/api for getting following information
1- Function that tells how much memory used by current process
2- Function that tells how much memory used by all running processes
3- Function that tells how much CPU is used by current process
4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies
4. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
5. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
By using time command we can determine the execution time of a process or command.
bash-2.04$ time ls -l
total 0
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file1
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file2
real 0m0.002s
user 0m0.000s
sys 0m0.001s... (5 Replies)
Discussion started by: learn more
5 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
8. UNIX for Dummies Questions & Answers
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
9. Red Hat
Hi ,
There is one following alert .
Message : cdm:Average (2 samples) swap memory usage is now 91%, which is above the warning threshold (90%)
Here is my findings.
Output of TOP command in Linux server.
top - 14:21:44 up 6 days, 4:48, 1 user, load average: 2.55, 2.06,... (3 Replies)
Discussion started by: Maddy123
3 Replies
10. Red Hat
Hi
the version is RedHat 6.2 (Oracle DB server)
I don't know why swap memory usage keeps increasing...
I used to check swap memory usage Free -m and another way.
total used free shared buffers cached
Mem: 32183 31861 322 ... (3 Replies)
Discussion started by: tom8254
3 Replies
du(1) General Commands Manual du(1)
NAME
du - summarize disk usage
SYNOPSIS
type] [name]...
DESCRIPTION
The command gives the number of 512-byte blocks allocated for all files and (recursively) directories within each directory and file speci-
fied by the name operands. The block count includes the indirect blocks of the file. A file with two or more links is counted only once.
If name is missing, the current working directory is used.
By default, generates an entry only for the name operands and each directory contained within those hierarchies.
By default, when a symbolic link is encountered on the command line or in the file hierarchy, will count the size of the symbolic link
rather than the file referenced by the link, and will not follow the link to another portion of the file hierarchy.
Options
The command recognizes the following options:
Print entries for each file encountered
in the directory hierarchies in addition to the normal output.
For each name operand that is a directory for which file system swap has been enabled, print the number of blocks the swap
system is currently using.
If a symbolic link is specified on the command line,
will count the size of the file or file hierarchy referenced by the link. Unlike the option, it will not follow sym-
bolic links encountered during the traversal of the directory hierarchy.
Gives the block count in 1024-byte blocks.
If a symbolic link is specified on the command line or
encountered during the traversal of a file hierarchy, will count the size of the file or file hierarchy referenced by
the link.
Print messages about directories that cannot be read,
files that cannot be accessed, and so on. is normally silent about such conditions.
Print only the grand total of disk usage
for each of the specified name operands.
Restrict reporting to file systems of the specified
type. (Example values for type are and so on.) Multiple options can be specified. Disk usage is normally reported
for the entire directory hierarchy below each of the given name operands.
Restrict reporting to only those files
that have the same device as the file specified by the name operand. Disk usage is normally reported for the entire
directory hierarchy below each of the given name operands.
According to the standards, specifying more than one of the mutually-exclusive options and will not be considered an error. The last
option specified will determine the behavior of the utility.
EXAMPLES
Display disk usage for the current working directory and all directories below it, generating error messages for unreadable directories:
Display disk usage for the entire file system except for any or mounted file systems:
Display disk usage for files on the root volume only. No usage statistics are collected for any other mounted file systems:
WARNINGS
Block counts are incorrect for files that contain holes.
SEE ALSO
df(1M), bdf(1M), quot(1M), standards(5).
STANDARDS CONFORMANCE
du(1)