12-02-2008
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 use interact command like top smh or sam
I need use general command without interactive
thanks
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
LEARN ABOUT MOJAVE
netusage
netusage(1) BSD General Commands Manual netusage(1)
NAME
netusage -- Display traffic usage statistics about the network
SYNOPSIS
netusage [--help]
netusage commands [arguments ...]
DESCRIPTION
The netusage program interfaces with symptomsd to display and manage network traffic usage statistics.
As additional feature of this tool allows for looking up an application or process name using a Mach-O UUID or a PID.
NETWORK STATISTICS COMMANDS
The following commands are used to provide different representations of network traffic usage statistics collected on the system.
--all-traffic [-p] [-r] [-n name] [-s sortorder] [-d importfile] [-e exportfile] [--unitize] [--compact] [--interactive] [--interval seconds]
Display a table listing the total ingress and egress network traffic usage for each application or process categorized by interface.
A timestamp of when the first network traffic was observed is also shown. By default, only applications will be shown unless the -p
flag is provided.
-p Show a list that includes the combination of applications and processes.
-r Force a database refresh before showing the list.
-n name Only show the application or process matching name.
-s sortorder
Sort the list according the following available sort orders:
t Sort by total network usage. (default)
c Sort by cellular interface usage.
w Sort by wi-fi interface usage.
i Sort by wired interface usage.
a Sort by awdl interface usage.
e Sort by expensive interface usage.
-d importfile
Show a traffic usage comparison between the current values and the contents of the file at importfile.
-e exportfile
Save the current traffic usage values into exportfile.
--unitize
Show the table values in unitized format (eg. KB/MB/GB).
--compact
When showing a traffic usage comparison, only list the entries whose values have changed.
--interactive
Show a traffic usage table that periodically refresh and can be viewed interactively. When an update occurs, the usage
value for the application or process that generated network traffic will appear emphasized. You can use the following com-
mands to interact with the table.
q Quit
p Toggles the values between showing raw bytes and unitized format
s Change the sort order of the columns
r Redraw the screen
h Show help
Arrow Keys
Scroll the list
--interval seconds
Set the periodic refresh interval to the specified number of seconds. The minimum value is 5 seconds, and the default
interval is 15 seconds. (Only valid in interactive mode)
MANAGEMENT COMMANDS
These commands are used to manage and reset the collected network traffic usage statistics.
--reset-entry [-p] [-n name]
Reset the network traffic usage statistics stored for a single entry. Use the -n flag (and optionally the -p flag) to specify the
name of the entry.
--unitize name
Specify the name of the application to reset the network usage statistics.
-p Specify a process name instead of an application name.
--reset-all
Reset the network traffic usage statistics for all the stored entries.
OTHER COMMANDS
These are optional utility commands that are available to look up applications or processes.
--resolve-uuid uuid
Resolve the given mach-O uuid into an application identifier.
--resolve-pid pid
Resolve the given pid into an application identifier.
Darwin May 31, 2019 Darwin