Xfce: мониторинг температуры процессора и не только
Температура проца и материнки могут выглядеть например так:
вывод команды sensors, отфильтрованный grep`ом.
a=M; ls -Ra ~ 2>/dev/null | egrep -io ~/".?$a[A-Za-z\.-]*" | uniqДовольно забавно на мой взгляд. Т. е. идея в том, чтобы отрезать у вывода ls часть от начала до нужного совпадения, а от совпадения до первого "/", для исключения подпапок из результата. Данная строка скорее всего выведет что-то вроде
cat ~/.Xresources ... !============================== ! Emacs !============================== emcs.geometry: 71x33Не стоит забывать про олдскул ;) Все параметры моего любимого Xterm задаются в этом же файле кстати.
python setup.py bdist_rpm
> fgr --help Usage : fgr [OPTIONS] Options: [-vVPrMACaiIyLcwxZ] [-fpotkhsmudgeE]] [Path] fgr: Locate documents and folders on this computer by name or content Filter:Search for files Contents:File's contents filtered as plain text. -v Verbose output debugging mode. -V Show version information Filter Details -a Stay on single filesystem -P Print... The unique Process ID that identifies this process. -D Find hidden files and directories -f Filter To display files which pass the filter (stars and regexps will be processed) -r Recursive -s +KByte is greater than or equal to (KB): KByte -s -KByte is less than or equal to (KB): KByte -p suid | exe Set UID(suid) | Executable Text Files (exe) -o octal The permissions of the file, in octal notation. -t Type any | reg | dir | sym | sock | blk | chr | fifo Any (any) Default type Regular file (reg) Directory (dir) Symbolic Link (sym) UNIX Socket (sock) Block device (blk) Character device (chr) FIFO (fifo) -k Minutes Details: TIME (Previous): Minutes [--> -M | -C | -A] -h Hours Details: TIME (Previous): Hours [--> -M | -C | -A] -d Days Details: TIME (Previous): Days [--> -M | -C | -A] -m Month Details: TIME (Previous): Month(s) [--> -M | -C | -A] -M TIME Modification Time :TIME (mknod, truncate, utime, write) -A TIME Access Time :TIME (exec, mknod, pipe, utime, read) -C TIME Creation Time :TIME (chown, chgrp, chmod, ln) -u uid User: uid -g gid Group: gid -Z Output a zero byte (the ASCII NULL character) instead of the character that normally follows a file name Content View: -------- -e STRING Regular expression: STRING -E STRING Regular expression(Extended): STRING -i Ignore case -I Text Files -L No match -c Line Count -w Whole words only -x Match whole lines only fgr-4.7.4 Copyright (c) 2002-2010 Edscott Wilson Garcia. GPL distribution licence.
Следующие Предыдущие Главная страница