Sponsored Content
Operating Systems Solaris Question about details for the whole machine Post 302783019 by jlliagre on Tuesday 19th of March 2013 07:55:07 PM
Old 03-19-2013
Quote:
Originally Posted by Marc G
Sadly, prstat only gives most of it's data 'per process' where I need amalgamated data for the entire box.(as top gives)
You might want to use "top -Z" which gives some statistics per zone.
Quote:
When I investigated getting the CPU and memory data from vmstat, I could find no method of getting the values for "iowait" or "swap".
That's no surprise.
- "iowait" ceased to be reported by Solaris many years ago being quite confusing, meaningless and commonly misinterpreted.
- There is no "swap" CPU state so it should always display 0% here.
Quote:
As for memory, the only values I see in vmstat are Swap and Free. Nothing about Physical memory, free or otherwise.
vmstat "free" column is definitely about physical memory. the "swap" column is not that much related to what top reports. "swap" means here available virtual memory. What top reports is the swap area usage which you can get with "swap -l" on Solaris.
Quote:
I am looking into my options, which are broadening as I look at things like "kstat", which i do not know how to use
Most of the statistic gathering commands (eg. vmstat, iostat, mpstat, netstat, ...) are using the kstat interface to get part or all of their input data. The kstat command allows to get the low level data from which they build a more readable representation.

Quote:
But this also does not get me a complete set of the data that top does.
No command will. "top" is gathering data from different sources (mostly kstat and /proc) and consolidating them its way.

Quote:
On the basis that this is just a box following instructions, I am assuming there is another way to get what top does from a Solaris box and I am hoping that someone here can give me some direction in getting it?
That's a wrong assumption if you expect a single alternative tool that provides the same set of statistics. If you want top just use it and fix whatever doesn't work in the way you call it. Otherwise, you'll have to aggregate data from different commands or process kstat output, if you are not interested in process specific information.
These 2 Users Gave Thanks to jlliagre For This Post:
 

9 More Discussions You Might Find Interesting

1. SCO

How to check memory details of a SCO UNIXWARE machine

Hi All, I want to check memory details and other hardware details of my SCO machine. can someone please share the command to do that? Thanks, Am (2 Replies)
Discussion started by: am_yadav
2 Replies

2. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

3. Shell Programming and Scripting

shell script to copy files frm a linux machine to a windows machine using SCP

I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine. for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies

4. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

5. Windows & DOS: Issues & Discussions

How to know machine details in windows through cmd

Hi, I want to print machine details in windows. In UNIX it is easily available by the command uname -X Is there any command like this in windows to get those details.. can anybody help me on this.. Thanks in advance. ~arup (1 Reply)
Discussion started by: arup1980
1 Replies

6. UNIX for Dummies Questions & Answers

at -l doesnt give details of the scheduled job. How to get the details?

I have scheduled couple of shell scripts to run using 'at' command. The o/p of at -l is: $ at -l 1320904800.a Thu Nov 10 01:00:00 2011 1320894000.a Wed Nov 9 22:00:00 2011 1320876000.a Wed Nov 9 17:00:00 2011 $ uname -a SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies

7. UNIX for Advanced & Expert Users

FTP While transfering files to local machine to remote machine

Hi Am using unix Ksh Am getting the problem while transferring zero size files through the script . When i transfer zero size files from local machine to remote machine manually i can able to do it . My question its beause of zero size files am not able to transfer through script ? or its... (2 Replies)
Discussion started by: Venkatesh1
2 Replies

8. Linux

Unable to connect to Server machine from a client machine using ftp service

Hi, Could you please help me with the below issue.. I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1). I'm trying to connect to server from the client machine using ftp service. I have installed vsftpd daemon on both the machines. I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies

9. Red Hat

iptables applied in local machine, can't ssh remote machine after chain changed to DROP

I want to SSH to 192.168.1.15 Server from my machine, my ip was 192.168.1.99 Source Destination was UP, with IP 192.168.1.15. This is LAN Network there are 30 Machine's Connected to the network and working fine, I'm Playing around the local machine's because I need to apply the same rules in... (2 Replies)
Discussion started by: babinlonston
2 Replies
All times are GMT -4. The time now is 05:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy