11-28-2017
Wouldn't prtdiag give it away? I can't test it now but I thought prtdiag would say something like "Must be run in global zone".
EDIT: I think you can also run /usr/bin/zonename and check if zone name comes back as 'global' or not. Again, this is all from memory.... I have not messed around with Idom so just throwing out what I am familiar with. Hope it helps.
Last edited by mainegeek; 11-28-2017 at 10:27 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
What command can i use to get the physical and virtual memory of a database? (7 Replies)
Discussion started by: tads98
7 Replies
2. Solaris
Hi
I have two solaris 10 virtual machines on my Vista laptop.
I want to access both machines using putty in vista. I used DHCP while installing virtual machines. one machine gets the ip address and other does not. What is the problem? can i assign a static ip address if yes how?
... (2 Replies)
Discussion started by: ankurk
2 Replies
3. Solaris
Hi,
I am on an Solaris machine "SunOS 5.10 Generic_139556-08 i86pc i386 i86pc"..how do i check if I am on an physical or an virtaul server.
Thanks. (6 Replies)
Discussion started by: jjoy
6 Replies
4. UNIX for Dummies Questions & Answers
I have a machine with Solaris OS 10 installed.
What command/file can give me the vendor of physical machine.
I have a machine with AIX OS installed.
What command/file can give me the vendor of physical machine.
I have a machine with Linux OS installed.
What command/file can give... (1 Reply)
Discussion started by: epriya2003
1 Replies
5. Solaris
Hello,
Firstly, apologies if the theme of this post is discussed elsewhere.
At the moment we have a dual-domain M5000 running. Each domain is running with equal amounts of CPU and memory.
What we'd like to do is move the 2 hosts in question (1 per domain) to a Solaris 10 zone of it's zone.... (2 Replies)
Discussion started by: nm146332
2 Replies
6. Solaris
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies
7. UNIX for Advanced & Expert Users
Hi All,
How can I know whether the server I am connecting to is a virtual or physical one? The server might be having any Unix OS (Linux/Solaris/HP-UX etc.).
Is there any system files / commands which can show these concrete information?
Thanks in advance for the replies.
sanzee (1 Reply)
Discussion started by: sanzee007
1 Replies
8. Solaris
hi,
I am using command psrinfo -p to check the number of physical processors present on any soalris machine.I want to check the number of virtual processors assigned for particular solaris machine.
which command/set of command need to be used which can grep or show the total virtual processors... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies
9. AIX
HI,
I need a command to find,
1) Avaiable Physical CPU
2) Avaiable virtual CPU
TIA (1 Reply)
Discussion started by: sumanthupar
1 Replies
10. Solaris
Hi All
Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies
LEARN ABOUT DEBIAN
prtdiag
prtdiag(1M) prtdiag(1M)
NAME
prtdiag - display system diagnostic information
SYNOPSIS
/usr/sbin/prtdiag [-v] [-l]
prtdiag displays system configuration and diagnostic information on sun4u and sun4v systems.
The diagnostic information lists any failed field replaceable units (FRUs) in the system.
The interface, output, and location in the directory hierarchy for prtdiag are uncommitted and subject to change in future releases.
prtdiag does not display diagnostic information and environmental status when executed on the Sun Enterprise 10000 server. See the
/var/opt/SUNWssp/adm/${SUNW_HOSTNAME}/messages file on the system service processor (SSP) to obtain such information for this server.
The following options are supported:
-l Log output. If failures or errors exist in the system, output this information to syslogd(1M) only.
-v Verbose mode. Displays the time of the most recent AC Power failure, and the most recent hardware fatal error information, and (if
applicable) environmental status. The hardware fatal error information is useful to repair and manufacturing for detailed diagnos-
tics of FRUs.
The following exit values are returned:
0 No failures or errors are detected in the system.
1 Failures or errors are detected in the system.
2 An internal prtdiag error occurred, for example, out of memory.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWkvm |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable* |
+-----------------------------+-----------------------------+
*The output is unstable.
modinfo(1M), prtconf(1M), psrinfo(1M), sysdef(1M), syslogd(1M), attributes(5), openprom(7D)
NOTES
Not all diagnostic and system information is available on every Solaris platforn, and therefore cannot be displayed by prtdiag. On those
platforms, further information can be obtained from the System Controller.
29 Aug 2005 prtdiag(1M)