Can not find Machine SN


 
Thread Tools Search this Thread
Operating Systems Solaris Can not find Machine SN
# 1  
Old 03-19-2017
Question Can not find Machine SN

I have some VMs where I could identify that they are hosted on SPARC T4-2 .
I am trying to figure out what is the SN of the box/es from gathered explorer logs but the output of the executed commands gave unknown.

Any idea how to get out the SN?

Please let me know if further clarification is needed.
# 2  
Old 03-19-2017
I don't remember a Solaris utility that provides that information, but a simple C program using the sysinfo() function with the command parameter set to SI_HW_SERIAL should get you what you want.
# 3  
Old 03-19-2017
I suspect sysinfo(SI_HW_SERIAL) returned "unknown".
In such case, the SN is on a sticker on the chassis and can be read from the ilom:
Find the Server Serial Number - SPARC T4-2 Server HTML Document Collection
# 4  
Old 03-20-2017
so if you have the current explorer tools installed it includes a tool called sneep which does exactly that

Code:
# /opt/SUNWsneep
FML010101X
#

if not you can use the eeprom command:

Code:
# eeprom |grep -i ChassisSerialNumber
nvramrc=." ChassisSerialNumber FML0101010X " cr

# 5  
Old 03-21-2017
do you see anything in "virtinfo -a" output?
# 6  
Old 03-21-2017
Both commands are not included in explorer file.

Quote:
Originally Posted by os2mac
so if you have the current explorer tools installed it includes a tool called sneep which does exactly that

Code:
# /opt/SUNWsneep
FML010101X
#

if not you can use the eeprom command:

Code:
# eeprom |grep -i ChassisSerialNumber
nvramrc=." ChassisSerialNumber FML0101010X " cr

---------- Post updated at 12:48 AM ---------- Previous update was at 12:47 AM ----------

Quote:
Originally Posted by jlliagre
I suspect sysinfo(SI_HW_SERIAL) returned "unknown".
In such case, the SN is on a sticker on the chassis and can be read from the ilom:
Find the Server Serial Number - SPARC T4-2 Server HTML Document Collection

Unfortunately , I have only explorer logs gathered from the system.

---------- Post updated at 12:50 AM ---------- Previous update was at 12:48 AM ----------

Quote:
Originally Posted by pressy
do you see anything in "virtinfo -a" output?

looked for any virtinfo file/command in the explorer file but could not find any.
# 7  
Old 03-22-2017
Quote:
Originally Posted by ahmedamer12
Both commands are not included in explorer file.



---------- Post updated at 12:48 AM ---------- Previous update was at 12:47 AM ----------




Unfortunately , I have only explorer logs gathered from the system.

---------- Post updated at 12:50 AM ---------- Previous update was at 12:48 AM ----------




looked for any virtinfo file/command in the explorer file but could not find any.


Then you need to upgrade your explorer pkg


Sent from my iPhone using Tapatalk

---------- Post updated at 08:00 AM ---------- Previous update was at 05:54 AM ----------

Quote:
Originally Posted by ahmedamer12
Unfortunately , I have only explorer logs gathered from the system.
Does this mean you don't have access to the system?
This User Gave Thanks to os2mac For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

find wwn in windows machine ?

Hi guys .. How to can I know the HBA WWN address in the windows machine ? Pls advice with command ... (1 Reply)
Discussion started by: roooooot
1 Replies

2. AIX

find nim server of a machine

Hi, i would like to know how can i find , in a client machine , the nim server. the nim server that this machine have , if the machine have it Thanks :confused: (1 Reply)
Discussion started by: prpkrk
1 Replies

3. UNIX for Dummies Questions & Answers

How can I find one file in other machine?

Hi all, I logged in one machine. I want to find one file in other machine. However, I don't know exactly which and where the machine is. I used nmap command to search all available hosts in this network range. I got two available machines through this action. But I still can't find the file I want... (8 Replies)
Discussion started by: w062611
8 Replies

4. AIX

How to Find if AIX machine is LPar or not

Hi, I want to know if there is any command which will tell me if an AIX machine is a LPar or not. I am using "lparstat -i" but it does not work on all AIX machines. Is there any generic command by whose output I will come to know if it is an LPar or not? Please help. Thanks, Vineet (3 Replies)
Discussion started by: vineetd
3 Replies

5. UNIX for Advanced & Expert Users

how to find out if a port is available on a remote machine?

hi, I can ping into another unix machine, but I cannot seem to access a certain application. I think it might be because I am now allowed to connect to the port (because of firewall configuration). How can I find out if I have access to a port on another machine? thanks (2 Replies)
Discussion started by: JamesByars
2 Replies

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

7. Shell Programming and Scripting

How to Find JRE installed in linux machine..?

Hi all, Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue... Thanks (3 Replies)
Discussion started by: XivaX
3 Replies

8. Programming

trying to find number of caches on a machine

I am trying to find the number of caches on a machine programatically. #include <stdio.h> #include <malloc.h> int main(void) { int *ptr,*ptr1,i,j; j=0; i=1; printf("Changing allocation with brk()\n"); while(1) { for(j=0;j<i;j++) { ptr =... (1 Reply)
Discussion started by: jacques83
1 Replies

9. UNIX for Dummies Questions & Answers

How to find which machine ...

Hi friend, pls let me know .. 1)How to fine which UNIX machine Ex . whether it is 32 bit processor OR 64 bit processor .. 2) HP-ux is machine or Architectural ? pls replay as soon as possible .. Thanks.. (3 Replies)
Discussion started by: premnathk
3 Replies
Login or Register to Ask a Question