Skip to content

Capture the state of the system configuration for later troubleshooting in the event of system problems

License

Notifications You must be signed in to change notification settings

amineasli/sysconfig-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

sysconfig-snapshot

Performs a series of commands to take a snapshot of the state of your Linux machine. Among things to consider for this system configuration snapshot include : mounted filesystems, running processes, network stats, hardware configurations, to name a few. With such information captured you have a better chance of fixing system problems quickly and reducing down time.

Install

One line install (you must run this command as root) :

# curl https://raw.githubusercontent.com/AmineAsli/sysconfig-snapshot/master/sysconfig-snapshot -o \
/usr/local/sbin/sysconfig-snapshot && chmod +x /usr/local/sbin/sysconfig-snapshot

Usage

# sysconfig-snapshot [--output file] [--compress] [--help] [--version]

Examples

Take a snapshot of the system. The resulting text file will be located in the /var/log/sysconfig-snapshot directory :

# sysconfig-snapshot

Compressing the default snapshot file :

# sysconfig-snapshot --compress

You can also save the snapshot in a different text file :

# sysconfig-snapshot --output myreport

Same result but in compressed format :

# sysconfig-snapshot --compress --output myreport

License

GNU GPL v2.0, see LICENSE.

About

Capture the state of the system configuration for later troubleshooting in the event of system problems

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages