Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2005 03:41 PM
тАО07-28-2005 03:41 PM
What is the significance of UNIX95 while greping process ?
Thanks,
Shiv
Solved! Go to Solution.
- Tags:
- UNIX95
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2005 04:41 PM
тАО07-28-2005 04:41 PM
SolutionUNIX95 is a variable or is a one line method to set a variable temporarily. UNIX95 variable is used to enable special features such as a hierarchical listing of parent or child programs, or to search for a program WITHOUT grep using ps
see man ps
IA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2005 05:23 PM
тАО07-28-2005 05:23 PM
Re: UNIX95
UNIX95= ps -o pid,ppid
UNIX95= ps -A
-o option is giving several formats.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2005 09:19 PM
тАО07-28-2005 09:19 PM
Re: UNIX95
see also: http://docsrv.sco.com/DIFFS/UNIX95_Conformance.html
and
http://docs.hp.com/en/5965-4406/ch05s14.html
hope this helps!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2005 12:20 AM
тАО07-29-2005 12:20 AM
Re: UNIX95
Sometimes, altogether they provide a new option only under UNIX95. This too is done to comply with XPG4.
-Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2005 01:43 AM
тАО07-29-2005 01:43 AM
Re: UNIX95
You will most often see the assignment in front of a command such as:
UNIX95= ps -efH
and for POSIX shells, this is a temporary assignment that lasts only for the duration of the command (ps). While it is tempting to simply export UNIX95, DON'T DO IT! UNIX95 affects a lot of other commands and also library calls. Setting UNIX95 globally for your session may cause some programs to work differently. Since there is no index to the affected commands and calls, only set UNIX95 when you need it.
For ps, you can always set it without problems and gain the new options. The simplest way is to create an alias in .profile:
alias ps="UNIX95= /usr/bin/ps"
And now when you login, typing: ps -efH
will work just fine. Be sure to check out the -C option to eliminate grep from ps commands.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2005 03:48 AM
тАО07-29-2005 03:48 AM
Re: UNIX95
This is what I have found it most useful for.