10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have some set of server and I want to write a code that can go to each server login as su and perform some command and redirect output of the command to the individual file.
The command is working fine in terminal.
1. To login as su: su - username (I have privilege so it won't... (6 Replies)
Discussion started by: kotak86
6 Replies
2. UNIX for Dummies Questions & Answers
I have a Student File (rno, name, marks1, marks2, marks3)
How do I display a student with the highest percentage and with a percentage between 50-60.
and how to sort students in ascending order as per their name (1 Reply)
Discussion started by: Ankit Saraogi
1 Replies
3. Solaris
Hi,
I have perform IPMP on server. but its showing following errors,
root@DEVTEST10 # dladm show-dev
ce0 link: up speed: 100 Mbps duplex: full
ce1 link: up speed: 100 Mbps duplex: full
root@DEVTEST10 #
root@DEVTEST10 # ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1... (0 Replies)
Discussion started by: tiger09
0 Replies
4. UNIX for Dummies Questions & Answers
Help!
I have an AIX system that has a power outage.
When I logged in as root and got the system up and running it all looked ok.
But.....when a user tries to log in they receive the error: The perform stack has overflowed OP=2117 PC=2124 E=46 in emmcshflif
icrun is finished
How can I fix... (1 Reply)
Discussion started by: dlegnar
1 Replies
5. AIX
Help!
I have an AIX system that has a power outage.
When I logged in as root and got the system up and running it all looked ok.
But.....when a user tries to log in they receive the error: The perform stack has overflowed OP=2117 PC=2124 E=46 in emmcshflif
icrun is finished
How can I fix... (1 Reply)
Discussion started by: dlegnar
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Please can someone explain me about the " perform agent " on UNIX .
Thanx (1 Reply)
Discussion started by: reply2soumya
1 Replies
7. Shell Programming and Scripting
I am trying to move some transfers from ftp to sftp and have successfully established the connectivity betweeen Unix and Windows host however i am not able to transfer the file .
i am trying
sftp filename user@host:/dir/filename
if i try this i get
ssh filename :Name or service not... (1 Reply)
Discussion started by: amit1_x
1 Replies
8. Solaris
any idea what does this mean when an ldap user tries to login to my Solaris machine?
Apr 24 15:51:49 jupiter sshd: libsldap: Status: 53 Mesg: openConnection: simple bind failed - DSA is unwilling to perform
please ntoe that the machine is configured with ldap (not DNS or NIS). And that ldap... (0 Replies)
Discussion started by: melanie_pfefer
0 Replies
9. Shell Programming and Scripting
I have a 300 line script which generates key performance indicators for one of our systems. Since I just started learning sh/ksh half a month ago there's still a lot I haven't had experience with yet.
Currently, the script generates the report for a specific day. (It takes the date specified by... (2 Replies)
Discussion started by: yongho
2 Replies
10. Shell Programming and Scripting
I am trying to perform a simple if/else check.
if ; then
mkdir /wdnet/oracletest
else
mkdir $CON_DIR
fi
I guess I don't understand the unix basics about comparisons.
My scripts always executes the if, even though my CON_DIR variable is not blank.
What am I doing... (5 Replies)
Discussion started by: artfuldodger
5 Replies
machid(1) General Commands Manual machid(1)
NAME
machid: hp9000s200, hp9000s300, hp9000s400, hp9000s500, hp9000s700, hp9000s800, hp-mc680x0, hp-pa, pdp11, u370, u3b, u3b10, u3b2, u3b5, vax
- provide truth value about processor type
SYNOPSIS
DESCRIPTION
The following commands return a true value (exit code 0) if the a processor type matches the command name. Otherwise a false value (exit
code nonzero) is returned. These commands are commonly used within makefiles and shell procedures to improve portability of applications
(see make(1)).
+-----------+-------------------------++--------+--------------------------+
|Command | True for ||Command | True for |
+-----------+-------------------------++--------+--------------------------+
|hp9000s200 | Series 200 ||pdp11 | PDP-11/45 or PDP-11/70 |
|hp9000s300 | Series 300 ||u3b | 3B20 computer |
|hp9000s400 | Series 400 ||u3b2 | 3B2 computer |
|hp9000s500 | Series 500 ||u3b5 | 3B5 computer |
|hp9000s700 | Series 700 ||u3b10 | 3B10 computer |
|hp9000s800 | Series 800 or 700 ||u370 | IBM System/370 computer |
|hp-mc680x0 | Series 200, 300, or 400 ||vax | VAX-11/750 or VAX-11/780 |
|hp-pa | Series 700 or 800 || | |
+-----------+-------------------------++--------+--------------------------+
EXAMPLES
Given a shell script that must behave differently when run on an HP 9000 Series 700 or 800 system, select the correct code segment to be
executed:
WARNINGS
always returns true on both Series 800 and Series 700 systems. Therefore, when using this command in scripts to determine hardware type,
always use both and in the appropriate sequence to ensure correct results (see
machid(1) will no longer provide support for future machines beyond the Series 800 and Series 700 systems. Decisions should be based on
the hardware and software configuration information returned by getconf(1).
SEE ALSO
getconf(1), make(1), sh(1), test(1), true(1).
machid(1)