STATS command output not showing detail information.
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
STATS command output not showing detail information.
Hi Guys,
on one of our server I am NOT getting detail stats information output, some information is missing:-
Code:
/usr/local/bin/sudo /usr/local/bin/stats
_______________________System Statistics________________________
load averages: 0.01, 0.02, 0.02 07:32:59
67 processes: 66 sleeping, 1 on cpu
Memory: 4096M real, 1846M free, 2195M swap in use, 17G swap free
00:00:00 %usr %sys %wio %idle 07:33:00
Average 1 1 0 99
All metadevices are stable
==========================
Checking temperatures are OK or Not
Checking Power Supplies are OK or not
Checking Fans are OK or not
Report Failures Directly To Unixteam
==============================================
SN: xxxxxxx
CID: xxxxxxxx
PROM: OBP 4.17.1 2005/04/11 14:25
Hostname: xxxxxxxxxx
Hostid: xxxxxxxxxx
Kernel architecture: sun4u
Hardware provider: Oracle Corporation
Kernel version: SunOS 5.10 Generic_147440-12
System Configuration: Oracle Corporation sun4u Sun Fire V240
sysmgr@xxxxxxxxxxx~LOCAL/bin>>
It should show like this:-
Code:
/usr/local/bin/sudo /usr/local/bin/stats
Password:
_______________________System Statistics________________________
load averages: 0.04, 0.02, 0.03 07:31:02
52 processes: 51 sleeping, 1 on cpu
Memory: 4096M real, 3503M free, 342M swap in use, 11G swap free
00:00:00 %usr %sys %wio %idle 07:31:04
Average 0 1 1 98
All metadevices are stable
==========================
Checking temperatures are OK or Not
Temperature sensors:
-------------------------------------------------------------------
Location Sensor Temperature Lo LoWarn HiWarn Hi Status
-------------------------------------------------------------------
MB T_ENC 17C -3C 5C 40C 48C okay
MB/P0 T_CORE 46C - - 110C 115C okay
MB/P1 T_CORE 43C - - 110C 115C okay
PS0 FF_OT - - - - - okay
PS1 FF_OT - - - - - okay
------------------------------------------------------------------------
Checking Power Supplies are OK or Not
Current sensors:
----------------------------------------------------------------------
Location Sensor Current Lo LoWarn HiWarn Hi Status
----------------------------------------------------------------------
MB FF_SCSI - - - - - okay
PS0 FF_OC - - - - - okay
PS1 FF_OC - - - - - okay
Checking Fans are OK or not
Fan Speeds:
-----------------------------------------
Location Sensor Status Speed
-----------------------------------------
MB/P0/F0 RS okay 15340 rpm
MB/P0/F1 RS okay 15697 rpm
MB/P1/F0 RS okay 15000 rpm
MB/P1/F1 RS okay 16463 rpm
F0 RS okay 4963 rpm
F1 RS okay 5037 rpm
F2 RS okay 5075 rpm
PS0 FF_FAN okay
PS1 FF_FAN okay
---------------------------------
Keyswitch:
---------------------------------
Please advise,
What can be the issue? or is there any issue on the server?
Hi Guys,
on one of our server I am NOT getting detail stats information output, some information is missing:-
Please advise, What can be the issue? or is there any issue on the server? Please suggest.
As with SEVERAL of your other threads, we will suggest that you provide USEFUL DETAILS. You don't tell us what version of Solaris this is, on what kind of server, what's on it, etc. Posting output with no context tells us nothing.
Best guess: either the servers are different, or somethings not loaded that needs to be. You should contact the systems administrator with further questions, or call Solaris support.
Have you tried both commands on same machine OR different machines/hardware/OS OR this command is behaving differently or same system? BTW, I am not aware about stats command, so could you provide this command/package details, so I can give it a try on my Solaris system and check its output?
Last edited by shivaa; 01-11-2014 at 11:33 AM.
Reason: Minor addition
This is Solaris 10 Sparc machine(physical machine)
This is our production machine.
how ever we are also experiencing these errors on this system:-
Code:
Here is the Error message that we are receiving on our production system Solaris 10 Sparc system.
-------------------------------------------------
Jan 7 22:32:11 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jan 7 22:32:11 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10
Jan 7 22:32:11 system31 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24):
Jan 7 22:32:12 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jan 7 22:32:12 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp4/ssd@w50060166446027b9,10
Jan 7 22:32:12 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jan 7 22:32:12 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10
Jan 7 22:32:13 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jan 7 22:32:13 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp4/ssd@w50060166446027b9,10
Jan 7 22:32:14 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jan 7 22:32:14 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp4/ssd@w50060166446027b9,10
Jan 7 22:32:14 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jan 7 22:32:14 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10
Jan 7 22:32:16 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jan 7 22:32:16 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp4/ssd@w50060166446027b9,10
Jan 7 22:32:16 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jan 7 22:32:16 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10
Jan 8 01:31:33 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Does the above error also plays part in above stats output issue.
Thanks.
---------- Post added 01-13-14 at 05:19 AM ----------
Quote:
Originally Posted by shivaa
Have you tried both commands on same machine OR different machines/hardware/OS OR this command is behaving differently or same system? BTW, I am not aware about stats command, so could you provide this command/package details, so I can give it a try on my Solaris system and check its output?
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
We have no crystal ball. /usr/local/bin/stats is not a Solaris command. You should either contact its author to get support or post its source otherwise, assuming it is a shell script.
Yes, I forgot!
This is Solaris 10 Sparc machine(physical machine) This is our production machine.
And you STILL DO NOT TELL US WHAT KIND OF MACHINE IT IS...we have asked you MANY times in the past to provide details, and this thread is no different. What KIND of 'physical machine'??? Sun has things from desktop systems to huge room-filling servers...and amazingly enough, both are 'physical machines'...and both have VASTLY different capabilities/features.
Quote:
how ever we are also experiencing these errors on this system:-
Code:
Here is the Error message that we are receiving on our production system Solaris 10 Sparc system.
-------------------------------------------------
Jan 7 22:32:11 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jan 7 22:32:11 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10
Does the above error also plays part in above stats output issue. both command ran on 2 different systems.
As jlliagre said, 'stats' is not a Solaris command. And again, as you've been asked several times in the past...have you tried to look up that error??? Since you STILL don't provide details about your 'physical machine', the message indicates FC attached disk of some sort, with some sort of multipathing. Have you bothered to check your disks? Run ANY of whatever-multipathing-software-you're-using utilities to check things out?
And you STILL don't tell us where you got this 'stats' command from, or why you think the output is wrong. Have you actually looked at the script? Checked what it's doing? Run the commands manually to see what you get and why?? ANY diagnostics at all??
If you're having problems, contact your systems administrator at your site...they should be able to walk you through basic troubleshooting.
on one of our server I am NOT getting detail stats information output, some information is missing:-
Code:
/usr/local/bin/sudo /usr/local/bin/stats
_______________________System Statistics________________________
load averages: 0.01, 0.02, 0.02 07:32:59
67 processes: 66 sleeping, 1 on cpu
Memory: 4096M real, 1846M free, 2195M swap in use, 17G swap free
00:00:00 %usr %sys %wio %idle 07:33:00
Average 1 1 0 99
...
Report Failures Directly To Unixteam
...
...
perhaps i can clear some confusion... i also work for a corporation and it seems like this script/program/utility was created by someone at your work place (not something generic to unix or sun-os). it seems like your work place has a team that should get questions like this (probably an email group mailbox in gmail/outlook).
Agree. I guess it's some shell script/function created by some individual to fetch some useful system information for their internal use. Since you're invoking it on two different machine, so obviously output will be different from both systems. So before any further analysis, provide us details of both systems (Harware, architecture, OS, version etc).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.