linux-bench
linux-bench copied to clipboard
Screenfetch
More information gathering about the system the bench is run on... I think its cool... we may not want it... I will play with it tomorrow. I think my lab lost power... :/
Features:
- Detects Desktop Environment, Kernel, Uptime, Window Manager, Window Manager Theme, GTK Theme, GTK Icon Theme, and GTK Font. It also attempts to detect running distribution, but it's a little sketchy at the moment and needs a lot of testing.
- Supported distros: Arch Linux (yay!), Linux Mint, LMDE, Ubuntu, Debian, Fedora (untested), SuSe (untested), Mandriva/Mandrake (untested), Crunchbang (somewhat tested), Gentoo (untested), Red Hat Linux (untested), and Tiny Core.
- Supported Desktop Environments: KDE, GNOME, XFCE, LXDE, and "Not Present".
- Supported Window Managers: PekWM, FluxBox, OpenBox, BlackBox, Xfwm4, Metacity, Kwin (reported as not working), IceWM, FVWM, DWM, Awesome, WindowMaker, XMonad, Musca, i3, Ratpoison, ScrotWM, WMFS, wmii, subtle, E16, Sawfish, and Beryl (if you can find files or syntaxes to detect the theme of more window managers, let me know!)
- Outputs ASCII logo with information, though you may specify to only output information and no ASCII art.
- Flag to execute a scrot command to take screenshot named 'screenFetch-(YEAR)-(MONTH)-(DAY).png'
- Ability to specify custom distribution name and custom screenshot command in execution on command-line.
- Verbose output
I don't see this as too important since most of the time it will either be the same due to liveCD, or nothing at all (minimal install). Also doesn't affect performance as much, more of a curiosity. Regarding the potential for a screenshot, if the system is a production system, it may reveal too much info. We don't collect easier info such as a df, mnttab, lspci, or lsscsi which are also interesting, but not useful.
I went through the logs today and actually noticed that one of the tests captures everything from mounted partitions, to IP address and list of users on the machine. We may want to disable that collection as well. Especially if we build a website for people to upload data, submitting a list of usernames and IP is not ideal.
I agree... We should in the very least anonymize data. I like capturing system configuration information.... but we should be careful to not collect personal information.
I made the anonymize data bit into a formal Bug. I still think there is a lot of value in grabbing configuration information.