LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   STATS command output not showing detail information. (https://www.linuxquestions.org/questions/solaris-opensolaris-20/stats-command-output-not-showing-detail-information-4175490771/)

manalisharmabe 01-10-2014 01:09 AM

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?

Please suggest.

Thanks a lot.

TB0ne 01-11-2014 11:23 AM

Quote:

Originally Posted by manalisharmabe (Post 5095310)
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.

shivaa 01-11-2014 11:30 AM

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?

manalisharmabe 01-13-2014 04:19 AM

Yes, I forgot!

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 (Post 5096152)
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?

both command ran on 2 different systems.

jlliagre 01-13-2014 06:01 AM

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.

TB0ne 01-13-2014 09:11 AM

Quote:

Originally Posted by manalisharmabe (Post 5097056)
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.

schneidz 01-13-2014 09:23 AM

Quote:

Originally Posted by manalisharmabe (Post 5095310)
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

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

schneidz 01-13-2014 09:36 AM

removed.

shivaa 01-13-2014 11:16 AM

Quote:

Originally Posted by jlliagre (Post 5097098)
/usr/local/bin/stats is not a Solaris command

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


All times are GMT -5. The time now is 09:37 AM.