The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
File mgt: Do you know the command line command linux_lou Shell Programming and Scripting 4 06-24-2009 05:08 AM
Need a Command To display "echo command value in loop" in single line. sakthifire Shell Programming and Scripting 2 03-04-2009 09:49 AM
find and replace command in one line using one command vasikaran UNIX for Dummies Questions & Answers 10 08-20-2008 10:40 AM
assign a command line argument and a unix command to awk variables sweta_doshi Shell Programming and Scripting 0 08-08-2008 06:54 AM
how to? launch command with string of command line options TinCanFury Shell Programming and Scripting 5 04-28-2008 06:06 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-22-2009
KmJohnson KmJohnson is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 7
Getting command (command line) from SAM?

Hi I hope this is easy and sorry if I am using the wrong HP terms.
I am looking for a way to glean the command line information from a process I run in SAM?

In AIX I can just select any options I want for particular process and hit F6 and the command line is shown on the screen for use in scripts and other automations. Can anyone point me at this? TIA. –KJ

PS I See this dir (/var/sam/log) and the log file in it, but have yet to find my command. I was hoping I could see it in the application …
  #2 (permalink)  
Old 06-22-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 730
You could use tusc to trace what sam(1m) is calling, the "-a: show exec arguments" options sounds promising.
  #3 (permalink)  
Old 06-23-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
No theres no F6 or F7 like smit...
But a walkaround is to go to in SAM (which reads from End...)
Options -> View SAM Log... in the new window, you can filter: Details/Verbose/Commands only, and set a time range if looking for something special
And choose save which puts your search in a file...
  #4 (permalink)  
Old 06-23-2009
KmJohnson KmJohnson is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 7
Thanks for the post. I looked at it; this has possibilities
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:04 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0