03-19-2014
This line is only for portability (define HOST if not yet defined); you can omit it on Linux/bash.
Likewise ps -eo is supposed to work everywhere, while ps -Ao is Linux-only.
---------- Post updated at 03:14 PM ---------- Previous update was at 01:24 PM ----------
Just seeing that Solaris also has ps -Ao.
Seems even be demanded by Posix.
10 More Discussions You Might Find Interesting
1. IP Networking
The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies
2. UNIX for Dummies Questions & Answers
Our group has recently inherited 15 servers that have not been maintained for over a year.
My first action is to backup the units however there is not enough disk space on most of them to run tar. My supervisor said to look at piping the tar output to another machine, however I have been unable... (3 Replies)
Discussion started by: thumper
3 Replies
3. Solaris
Hi all,
i am copying .gz files from production server to development server using
"scp" command.my requirement is after copying .gz files i want to delete old
.gz files(two days back) in development server from production server.
like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176
3 Replies
4. Shell Programming and Scripting
Gurus/Experts
We have a centralized UNIX/Solaris server from where we can actually ssh to all other UNIX/Solaris servers...I need to write a script that reside on this centerlized server and do FileSystem monitoring (basically run df -h or -k) of other remote servers and then send an email to me... (6 Replies)
Discussion started by: anjum.suri
6 Replies
5. UNIX for Advanced & Expert Users
I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1.
When I do a who -m from A2, I see the "connected from" as "A1".
=> who -m
userid pts/2 2010-03-27 08:47 (A1)
I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies
6. Shell Programming and Scripting
hi
I have a script to login from a host "A" to a list of hosts in a file and perform some commands inside it...its somethin like this
for i in `cat file`
do
ssh -t $i " command1 ; command2; ..."
done
I wanna save the outputs in a file in the current host "A" i.e from where I am... (3 Replies)
Discussion started by: ningy
3 Replies
7. Shell Programming and Scripting
Hi guys.
i need some help, i need to create a script in tcsh that rsh into all my hosts that we have at our business, then cd to a directory (cd /apps/users) then grab a file from the users folder and ftp it back to my windows machine. can someone please help?
Kind regards.
Brian Behrens (2 Replies)
Discussion started by: brian112
2 Replies
8. Solaris
hello all
I am trying to create a comma seperated file of the pkginfo command. The follwoing works pretty well.
pkginfo -l | egrep '(BASEDIR|NAME|VERSION)' | awk '{print}' ORS=', '
however, there are two issues.
1, For some reason it does not load into excel properly. It loads as... (7 Replies)
Discussion started by: busi386
7 Replies
9. UNIX for Dummies Questions & Answers
Hello All,
I am using Linux OS. My idea is get the host name when we do tnsping in oracle.
output of : tnsping DOELO01
TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on 15-OCT-2015 20:20:05
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:... (2 Replies)
Discussion started by: Ariean
2 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
Please can you help with the output whole line for each host (column 3) and the top line of column 9 - the lastest only
What is being outputted
243272484 3 nbmedln1p03 LDN_TEST_UX_JM 1488198368 0000000007 1 INC_1MTH 0 **********
243272492 3 nbmedln1p03 LDN_TEST_UX_JM... (10 Replies)
Discussion started by: Junes
10 Replies
LEARN ABOUT OSX
headerdoc2html
HEADERDOC2HTML(1) BSD General Commands Manual HEADERDOC2HTML(1)
NAME
headerdoc2html -- header documentation processor
SYNOPSIS
headerdoc2html [-HXdhquvx] [-o output_dir] file [file ...]
DESCRIPTION
Headerdoc2html processes the header file or files and generates HTML documentation based on specially-formatted comments.
The options are as follows:
-H The -H option turns on inclusion of the htmlHeader line, as specified in the config file.
-X The -X option switches from HTML to XML output
-d The -d option turns on extra debugging output.
-h The -h option causes headerdoc to output an XML file containing metadata about the resulting document.
-p The -p option turns on the C preprocessor.
-q The -q option causes headerdoc to be excessively quiet.
-u The -u option causes headerdoc to produce unsorted output.
-v The -v option causes headerdoc to print version information.
-x The -x option causes headerdoc to export fils in a format suitable for inclusion in a database.
If no options are specified, headerdoc will produce directories containing its standard HTML output.
FILES
/$HOME/Library/Preferences/com.apple.headerDoc2HTML.config
SEE ALSO
gatherheaderdoc(1)
For more information, see the headerdoc documentation. It can be found in /Developer/Documentation/DeveloperTools if you have the developer
tools package installed, or at http://developer.apple.com in the developer tools documentation section.
Darwin June 13, 2003 Darwin