04-22-2011
Well, for what you are trying to do - all except hostname, network and disk traffic can be covered with a simple vmstat -Iwt 10 - for network I would suggest you use netstat and for disks iostat with the options you want to capture.
Generally - you will generate a lot of network traffic if you really want to send the data via network every 10 sec and I personally could not see any use in this - particularly cpu usage on current virtualized systems is only a problem if you are exceeding your virtual capacity - but you will get a 100% busy system as soon as you exceed your entitlement.
Regards
zxmaus
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi,
can any one tell me, is there is any way i can check the performance of my solaris 8 os on an Ent 3500. Other than top to check for the top most processes, how to make the calculations with vmstat, iostat, mpstat and nfsstat. Or is there any other tools that i can use?
cheers. (3 Replies)
Discussion started by: i2admin
3 Replies
2. AIX
Hi All
I am looking for a script that would collect statistics in a summarised format.
CPU, Memory,Swap, Wait queue, Run queue and disk activity.
Something that would allow me to profile the environment based on a 1 line output that I could run every 15 min.
Thx
Junaid (1 Reply)
Discussion started by: jhansrod
1 Replies
3. UNIX for Advanced & Expert Users
Hi all
The place I work for is about to to place there database server under heavy load for testing and would like the effect recorded as much as possible.
Can anyone point me in the right direction with respect to real time system monitoring. I am aware of of 'sar', vmstat etc and hope to... (2 Replies)
Discussion started by: silvaman
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am trying to find a way to view current CPU and disk usage. I used to use nmon which worked fine but since an upgrade to our servers this is no longer available. I have tried to get it reinstalled to no avail!
Are there any other commands you can use within unix which will allow me... (4 Replies)
Discussion started by: johnwilliams
4 Replies
5. UNIX for Dummies Questions & Answers
In the vmstat , there are many columns you can see. Can someone tell me what is the most important column that i
need to be watched on, and what value or average value should i watch inorder to determine that im experiencing
a cpu bottle neck. What should be my basis.
or if you use glance
... (2 Replies)
Discussion started by: kaibiganmi
2 Replies
6. Solaris
Hi all,
I am planning to give a presentation on performance measure. I have decided to focus on the commands which are used to know the performance of the server. I have a idea of prstat,vmstat,netstat, and iostat. Could anybody suggest me any other commands which are used for perforamance... (7 Replies)
Discussion started by: priky
7 Replies
7. AIX
How to do Performance monitoring and tuning in AIX. (2 Replies)
Discussion started by: AIXlearner
2 Replies
8. Shell Programming and Scripting
How would i check for following?
1)open ports in my linux machine.
2)Hard disk read speed.
3)Hard disk write speed. (2 Replies)
Discussion started by: pinga123
2 Replies
9. Solaris
What tools can I use to look "deeper" into a process to see if the job is actually running or just hanging. What is the best method to accomplish this?
SunOS 5.10 Generic_142900-14 sun4v sparc SUNW,T5240 (2 Replies)
Discussion started by: Harleyrci
2 Replies
10. Red Hat
Have a question about doing some performance monitoring - how to approach it.
This is on RHEL 7.4
We are moving a rather large application to new hardware in the future. I would like to find a way to compared performance on the new hardware at different stages and at different times.
I'm... (4 Replies)
Discussion started by: Overcast451
4 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