Sponsored Content
Full Discussion: Find server details
Operating Systems Solaris Find server details Post 302164321 by Tytalus on Monday 4th of February 2008 12:27:40 PM
Old 02-04-2008
should mostly be covered by:

/usr/bin/uname -a

/usr/sbin/prtconf
/usr/sbin/prtconf -V

/usr/sbin/prtdiag -v

/usr/sbin/ifconfig -a
 

9 More Discussions You Might Find Interesting

1. Red Hat

How to find the os and h/w details

Hi Need to know the version(suse/redhat) and processor info(x86/itanium/amd etc). I tried uname -a but cannot understand what is what... Linux myworkhost 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux I dont have the root password, I can only ssh and have to... (3 Replies)
Discussion started by: amiri2000
3 Replies

2. Filesystems, Disks and Memory

how to find out unix server details

I like to find out Server Drive/Storage Specifications like Drive Size? Storage Type: Local or SAN ? Number of Processors: Processor Speed: Memory: please someone help me out how I can get from command line? Thanks you in advance (4 Replies)
Discussion started by: thopputhurai
4 Replies

3. Solaris

Some Details from my server like mirror

Hello, I need to get some details from my server like Internal hard disk details for my UNIX (Solaris 9) server like whether OS is mirrored or not, what type of mirror is used. Which hard disk are used for mirror ? Regards (1 Reply)
Discussion started by: adel8483
1 Replies

4. Shell Programming and Scripting

Directory details with FIND

Hello, an easy question, I hope. What would be the way to produce a result from the following find statement that would also include for each line in the output the details usually associated with the ls -ltr command? Here is the find I am using: find . -name "*.prg" -exec grep "test line" {}... (4 Replies)
Discussion started by: gio001
4 Replies

5. HP-UX

HP-UX Server Details

OS: HP-UX I need the following details from HP-UX server. I don't have root login, so most of the commands require root privilege 1. No of cpu in the server 2. Total Memory, Free & Used 3. Space used and free space Any help would be highly appreciated (6 Replies)
Discussion started by: manijash
6 Replies

6. Solaris

Need some help to find out hardware details

hi all i am looking for some command or utility to find out hard ware details. 1. How should i know whether my network adapter is a fibre card or RJ25 (upd) card (ethtool in linux) 2. How to check physical connectivity. ("mii-tool eth0" in linux) 3. How to find pci devices with exact details.... (1 Reply)
Discussion started by: kingston
1 Replies

7. Shell Programming and Scripting

Geographical location details of a server

Is there a way to find geographical location details of a server in shell scripting ? Say, which region server is located at etc. (5 Replies)
Discussion started by: blp_18
5 Replies

8. Solaris

How to find MQ details on Solaris 5.8?

Hi All, I want to find MQ details on a solaris 5.8 server , does anyone knows the command to findout the details I have used below command to find the following o/p command pkginfo | grep -i mq o/p application mqm WebSphere MQ for Sun Solaris application... (4 Replies)
Discussion started by: Jcpratap
4 Replies

9. Shell Programming and Scripting

How to find a file with a specific pattern for current sysdate & upon find email the details?

I need assistance with following requirement, I am new to Unix. I want to do the following task but stuck with file creation date(sysdate) Following is the requirement I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
4 Replies
getusershell(3C)					   Standard C Library Functions 					  getusershell(3C)

NAME
getusershell, setusershell, endusershell - get legal user shells SYNOPSIS
#include <unistd.h> char *getusershell(void); void setusershell(void); void endusershell(void); DESCRIPTION
The getusershell() function returns a pointer to a legal user shell as defined by the system manager in the file /etc/shells. If /etc/shells does not exist, the following locations of the standard system shells are used in its place: /bin/bash /bin/csh /bin/jsh /bin/ksh /bin/ksh93 /bin/pfcsh /bin/pfksh /bin/pfsh /bin/sh /bin/tcsh /bin/zsh /sbin/jsh /sbin/pfsh /sbin/sh /usr/bin/bash /usr/bin/csh /usr/bin/jsh /usr/bin/ksh /usr/bin/ksh93 /usr/bin/pfcsh /usr/bin/pfksh /usr/bin/pfsh /usr/bin/sh /usr/bin/tcsh /usr/bin/zsh /usr/sfw/bin/zsh /usr/xpg4/bin/sh The getusershell() function opens the file /etc/shells, if it exists, and returns the next entry in the list of shells. The setusershell() function rewinds the file or the list. The endusershell() function closes the file, frees any memory used by getusershell() and setusershell(), and rewinds the file /etc/shells. RETURN VALUES
The getusershell() function returns a null pointer on EOF. BUGS
All information is contained in memory that may be freed with a call to endusershell(), so it must be copied if it is to be saved. NOTES
Restricted shells should not be listed in /etc/shells. SunOS 5.11 1 Nov 2007 getusershell(3C)
All times are GMT -4. The time now is 11:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy