cancel
Showing results for 
Search instead for 
Did you mean: 

Samlog File on HP-UX 11.31

Kennedy G. Doss
Regular Advisor

Samlog File on HP-UX 11.31

Fellow SAs:

 

Has the location of /var/adm/sam/samlog moved somewhere else?

 

I remember in HP-UX 11i, I could run a command in "SAM" GUI and then, pick up the syntax of the executed command by viewing the /var/adm/sam/samlog file.

 

Now, I tried running a command in SMH homepage on a 11.31 Server.  Although there is a samviewer for log files, I dont see anything recorded in that contents of the samviewer log - in the GUI. On the server I am unable to find /var/adm/sam/samlog either.

 

Does, SMH record the commands that are executed from the GUI interface somewhere on the server? Do we have to enable any particular service to achieve this? Any input would be very much appreciated.

 

Warm Regards,

 

KGD.

4 REPLIES
Patrick Wallek
Honored Contributor

Re: Samlog File on HP-UX 11.31

On my HP-UX 11.31 server there's a log at /var/sam/log/samlog.

 

# tail /var/sam/log/samlog

@!@2@1360476626@0@atl6@02/10/13-01:10:26-EST
lpmgr done, exit value is 4.
@!@2@1361081426@0@atl6@02/17/13-01:10:26-EST
Starting: \Clpmgr -l\C
@!@2@1361081427@0@atl6@02/17/13-01:10:27-EST
lpmgr done, exit value is 4.
@!@2@1361686222@0@atl6@02/24/13-01:10:22-EST
Starting: \Clpmgr -l\C
@!@2@1361686223@0@atl6@02/24/13-01:10:23-EST
lpmgr done, exit value is 4.

Dennis Handly
Acclaimed Contributor

Re: samlog file on HP-UX 11.31

> SMH record the commands that are executed from the GUI interface somewhere on the server?

 

I'm not even sure it does this anymore.

But checking shows some info there but nothing that looks like any commands being logged.

Probably because SMH isn't used.

Robert_Jewell
Honored Contributor

Re: samlog file on HP-UX 11.31

You can preview the command that will be run:

 

Noname.jpg

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
Kennedy G. Doss
Regular Advisor

Re: samlog file on HP-UX 11.31

Gentlemen:

 

Thanks a billion for writing back to me. I guess I had the path wrong.

 

( I however, am unable to see the actual samlog file under /var/sam/log directory. I only see a samlog.old file that was created 2 years ago. I probably have to investigate why samlog has not been capturing any data.) I will take it from here.

 

I appreciate the screenshot related to the preview also.

 

Thanks again.

-KGD