HPE Storage Users Group https://3parug.net/ |
|
3PAR CLI Command History https://3parug.net/viewtopic.php?f=18&t=2779 |
Page 1 of 1 |
Author: | vtecdec [ Fri Jan 26, 2018 7:05 am ] |
Post subject: | 3PAR CLI Command History |
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. |
Author: | drunkmet [ Fri Feb 02, 2018 5:23 pm ] |
Post subject: | Re: 3PAR CLI Command History |
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) |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |