vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi y'all! Can anyone tell me if there's an utility to read the serial number of the processor of an AIX machine and pass it through to a 4GL program? The OS-version is 4.3. I've been looking and searching on the web, but came up with nothing at all. Now, I'm putting all my hope on you! Kind regards, Ton Wibier (pronounced as: We-Be-Yay) Email: ton@optim.nl |
| |||
| ton@optim.nl (Ton Wibier) wrote in message news:<f9b4042.0312150109.39fa3dac@posting.google.c om>... > Hi y'all! > > Can anyone tell me if there's an utility to read the serial number of > the processor of an AIX machine and pass it through to a 4GL program? > The OS-version is 4.3. > > I've been looking and searching on the web, but came up with nothing > at all. > > Now, I'm putting all my hope on you! > > Kind regards, > > Ton Wibier (pronounced as: We-Be-Yay) > Email: ton@optim.nl On our 4.3 systems, the following works: lsattr -El sys0 |grep systemid |cut -d " " -f 6 | cut -c 5- This will give you (sent to standard output) the 3-digit country code as well as the 6-digit serial number. Enjoy! Dick Sonderegger dick.sonderegger@cocc.com |
| ||||
| ton@optim.nl (Ton Wibier) wrote in message news:<f9b4042.0312150109.39fa3dac@posting.google.c om>... > Hi y'all! > > Can anyone tell me if there's an utility to read the serial number of > the processor of an AIX machine and pass it through to a 4GL program? > The OS-version is 4.3. > > I've been looking and searching on the web, but came up with nothing > at all. > > Now, I'm putting all my hope on you! > > Kind regards, > > Ton Wibier (pronounced as: We-Be-Yay) > Email: ton@optim.nl lsattr -El sys0 -a systemid Or uname -a|awk {'print $5'} lscfg -vp|grep -p "System VPD:"|grep -i Serial Some commands will not work on all servers. BV |