3PAR Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: 3PAR CLI Command History
PostPosted: Fri Jan 26, 2018 7:05 am 

Joined: Fri Jan 26, 2018 4:55 am
Posts: 1
Hi All,

I'm sure this question has been asked before .... is there any to find out what CLI commands (history) that were run/executed via a SSH session towards a 3PAR 8450 on 3.2.2 SW.
I thought in the past I was able to see user executed commands in the eventlog (showeventlog), but I'm not seeing it now.
Do we need to enable some setting to ensure that user executed commands are stored in the eventlogs.

Thanks in Advance.


Top
 Profile  
Reply with quote  
 Post subject: Re: 3PAR CLI Command History
PostPosted: Fri Feb 02, 2018 5:23 pm 

Joined: Mon Feb 01, 2016 12:55 pm
Posts: 51
this will give you current session cli history (does not persist after logout)
Code:
history


this is my oneliner to search event logs for CLI commands that were run by a user
Code:
showeventlog -comp cli -msg <user> -oneline


you should be able to see cli commands run in the event logs unless they've rotated out (they seem to only go back a month for me)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: Google [Bot], Morbid and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt