Archive

Posts Tagged ‘dump_session.pyc’

dumping session from opsware

April 21st, 2009 No comments

Sometimes I need to dump session which did not work and send to support, here is quick how to do it. I am just putting this for myself for me to find it easily as I do it with this rest of my blog, so if you find this useful then its great if not then please dont worry about it. :)

 

opsware[root] PYTHONPATH=/opt/opsware/pylibs
opsware[root] export PYTHONPATH
opsware[root] /opt/opsware/bin/python dump_session.pyc 211550001
Grabbing Session 211550001…
Grabbing Session 211550001 info…
Grabbing Session 211550001 params/results…
Grabbing SessionCommands…
Grabbing SessionCommand 2351010001L (1/1) info…
Grabbing SessionCommand 2351010001L (1/1) params/results…
Found $session_id 211560001L
Grabbing Session 211560001L…
Grabbing Session 211560001L info…
Grabbing Session 211560001L params/results…
Grabbing SessionCommands…
Grabbing SessionCommand 2351020001L (1/1) info…
Grabbing SessionCommand 2351020001L (1/1) params/results…
Writing results…
opsware[root]

Powered by WP Robot

Stop SOPAPowered by Yahoo! Answers