Sponsored Content
Full Discussion: command output
Operating Systems Solaris command output Post 302410788 by amitranjansahu on Wednesday 7th of April 2010 12:04:04 AM
Old 04-07-2010
What exactly you want to know? Here is the info of my system.

Code:
root@sol10standalone Amit $ psrinfo -p
1


root@sol10standalone Amit $ psrinfo -pv
The physical processor has 2 virtual processors (0 1)
  x86 (chipid 0x0 GenuineIntel family 15 model 4 step 7 clock 2793 MHz)
        Intel(r) Pentium(r) D CPU 2.80GHz
root@sol10standalone Amit $ uname -X
System = SunOS
Node = sol10standalone
Release = 5.10
KernelID = Generic_125101-04
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2



root@sol10standalone Amit $ prtconf
System Configuration:  Sun Microsystems  i86pc
Memory size: 1015 Megabytes
System Peripherals (Software Nodes):

i86pc
    scsi_vhci, instance #0
    isa, instance #0
        motherboard (driver not attached)
        lp (driver not attached)
        asy, instance #0
        asy, instance #1
        motherboard (driver not attached)
    pci, instance #0
        pci1028,1ad (driver not attached)
        pci8086,2771 (driver not attached)
        display, instance #0
        pci1028,1ad (driver not attached)
        pci8086,27d0, instance #1
            pci1028,1ad, instance #0
        pci8086,27d2, instance #2
        pci1028,1ad, instance #0
        pci1028,1ad, instance #1
        pci1028,1ad, instance #2
        pci1028,1ad, instance #3
        pci1028,1ad, instance #0
        pci8086,244e, instance #0
            pci8086,1050, instance #0
        pci1028,1ad (driver not attached)
        pci8086,27b8 (driver not attached)
        pci-ide, instance #0
            ide, instance #0
                cmdk, instance #0
            ide, instance #1
                sd, instance #1
                st, instance #0 (driver not attached)
                ses, instance #0 (driver not attached)
        pci1028,1ad (driver not attached)
    iscsi, instance #0
    pseudo, instance #0
    options, instance #0
    agpgart, instance #0
    xsvc, instance #0
    objmgr, instance #0
    used-resources (driver not attached)
    cpus (driver not attached)
        cpu, instance #0 (driver not attached)
        cpu, instance #1 (driver not attached)



root@sol10standalone Amit $ prtdiag
System Configuration: Dell Inc.                 OptiPlex GX520
BIOS Configuration: Dell Inc.                 A06 02/20/2006

==== Processor Sockets ====================================

Version                          Location Tag
-------------------------------- --------------------------
Pentium 4                        Microprocessor

==== Memory Device Sockets ================================

Type    Status Set Device Locator      Bank Locator
------- ------ --- ------------------- --------------------
DDR     in use 0   DIMM_1
DDR     in use 0   DIMM_3

==== On-Board Devices =====================================
Intel Graphics Media Accelerator 950
Broadcom 5751 NetXtreme Gigabit Controller
AC'97 Audio Controller

==== Upgradeable Slots ====================================

ID  Status    Type             Description
--- --------- ---------------- ----------------------------
2   available PCI              SLOT2
3   in use    PCI              SLOT3
5   in use    PCI Express      SLOT4
root@sol10standalone Amit $

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

problem with output of find command being input to basename command...

Hi, I am triying to make sure that there exists only one file with the pattern abc* in path /path/. This directory is having many huge files. If there is only one file then I have to take its complete name only to use furter in my script. I am planning to do like this: if ; then... (2 Replies)
Discussion started by: new_learner
2 Replies

2. UNIX for Dummies Questions & Answers

Command display output on console and simultaneously save the command and its output

Hi folks, Please advise which command/command line shall I run; 1) to display the command and its output on console 2) simultaneous to save the command and its output on a file I tried tee command as follows; $ ps aux | grep mysql | tee /path/to/output.txt It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies

3. UNIX for Advanced & Expert Users

Repeat output of last command w/o repeating last command

Is there a way to repeat the output of the last command for filtering without running the command again? All I could think of was to copy all the data to a text file and process it that way, is there another way? Like say I want to grep server.server.lan from a dtrace that was pages long after I... (5 Replies)
Discussion started by: glev2005
5 Replies

4. UNIX for Dummies Questions & Answers

read command - using output from command substitution

Hey, guys! Trying to research this is such a pain since the read command itself is a common word. Try searching "unix OR linux read command examples" or using the command substitution keyword. :eek: So, I wanted to use a command statement similar to the following. This is kinda taken... (2 Replies)
Discussion started by: ProGrammar
2 Replies

5. AIX

Non interactive command output using script command ?

Hello, Script command helps to save command output to file. (Redicection doesn't work in this case). Besides interactive shell 'recording', Linux script command has "-c" option which allows to record output of some non-interactive command. The problem is that AIX script command variant... (6 Replies)
Discussion started by: vilius
6 Replies

6. UNIX for Dummies Questions & Answers

passing command output from one command to the next command in cshell

HI Guys, I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that 1) I need to enter these commands $ echo $DISPLAY $ setenv $DISPLAY output_of_echo_$display_command How can i write a... (2 Replies)
Discussion started by: kaaliakahn
2 Replies

7. Shell Programming and Scripting

Want to terminate command execution when string found in the command output

Hi Experts, I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task. I am running below command to snmpwalk the router.. snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies

8. Red Hat

Command understanding the output file destination in case of standard output!!!!!

I ran the following command. cat abc.c > abc.c I got message the following message from command cat: cat: abc.c : input file is same as the output file How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies

9. UNIX for Dummies Questions & Answers

Set Command to output a log of every command executed in the script

Hi Guys, I like to output every command executed in the script to a file. I have tried set -x which does the same. But it is not giving the logs of the child script which is being called from my script. Is there any parameters in the Set command or someother way where i can see the log... (2 Replies)
Discussion started by: mac4rfree
2 Replies

10. Shell Programming and Scripting

Insert title as output of command to appended file if no output from command

I am using UNIX to create a script on our system. I have setup my commands to append their output to an outage file. However, some of the commands return no output and so I would like something to take their place. What I need The following command is placed at the prompt: TICLI... (4 Replies)
Discussion started by: jbrass
4 Replies
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)
All times are GMT -4. The time now is 10:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy