Sponsored Content
Operating Systems HP-UX How to determine cpu&memory percentage usage per user Post 65923 by Perderabo on Thursday 10th of March 2005 06:48:30 AM
Old 03-10-2005
glance can be run by non-root users.
 

9 More Discussions You Might Find Interesting

1. Programming

Monitor CPU usage and Memory Usage

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. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

3. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

4. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

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..?

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

How to find out memory & cpu usage of a process

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. Shell Programming and Scripting

Help with bash script - Need to get CPU usage as a percentage

I'm writing a bash script to log some selections from a sensors output (core temp, mb temp, etc.) and I would also like to have the current cpu usage as a percentage. I have no idea how to go about getting it in a form that a bash script can use. For example, I would simply look in the output of... (3 Replies)
Discussion started by: graysky
3 Replies

8. Shell Programming and Scripting

Finding total Percentage CPU usage

Hi, How can I find total CPU usage in percentage? e.g. if my system has 8 CPUs and I want to list total usage for all of them, is it possible through a command? I have tried some of the commands like top, mpstat, sar. The output of those commands has to be manipulated to derive the percentage... (14 Replies)
Discussion started by: jal_capri
14 Replies

9. Solaris

Capture PRSTAT based on CPU usage percentage

Hi, Recently i have write a simple script to capture CPU high usage based on prstat but i found out that it did capture correctly. I need to capture the rows that contains CPU usage more than 3%. Below line which i thought will capture CPU usage based CPU column in prstat(9th parameter) which is... (3 Replies)
Discussion started by: tharmendran
3 Replies
iostat(1)						      General Commands Manual							 iostat(1)

Name
       iostat - report I/O statistics

Syntax
       iostat [ -c ] [ -t ] [ disknames ] [ interval ] [ count ]

Description
       The  command  reports  I/O  statistics for terminals, disks and cpus.  For terminals the number of input and output characters are counted.
       For disks the number of 512 byte blocks per second and number of transfers per second are displayed.  For cpus, it provides the	percentage
       of  time  the system has spent in user mode, in user mode running low priority (niced) processes, in system mode, and idling.  On multipro-
       cessor systems these cpu statistics represent a cumulative summary of all the cpus.

       The optional disknames argument causes disk statistics to be displayed for the specified disks.	If this argument  is  not  specified  then
       disk statistics will be displayed for the first 3 disks only.

       The  optional interval argument causes to report once each interval seconds.  The first report is for all time since a reboot and each sub-
       sequent report is for the last interval only.

       The optional count argument restricts the number of reports.

Options
       -c   Displays the percentage of time each cpu spent in user mode, running low priority (nice'd) processes, in system mode, and idling.

       -t   Displays the number of characters read from and written to terminals.

Examples
       This example will cause cpu and disk statistics for the 5 disks ra0, ra1, ra2, ra3, and ra4.
	    iostat ra0 ra1 ra2 ra3 ra4
       This example will cause cpu, terminal, and disk statistics for ra0 to be displayed and updated every 2 seconds.
	    iostat -t ra0 2

Files
See Also
       vmstat(1), cpustat(1)

																	 iostat(1)
All times are GMT -4. The time now is 08:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy