dev

Search

You can find the results of your search below.

Conky
40 Hits, Last modified:
D DRIVE I/O ${hr 2}$color ${color0}Device:$color /dev/sdd3 ${color0}Reads: $color${diskio_read /dev/sdd3}/s${alignr}${color0}Writes: $color${diskio_write /dev/sdd3}/s ${color3}${diskiograph_read /dev/sdd3 30,225 33FF00 FF3333 scale -t}$color${alignr}${color3}${
Manjaro Setup Notes
12 Hits, Last modified:
DRIVE I/O ${hr 2}$color #${color0}Device:$color /dev/nvme0n1p5 #${color0}Reads: $color${diskio_read /dev/sdd}/s${alignr}${color0}Writes: $color${diskio_write /dev/nvme0n1p5}/s #${color8}${diskiograph_read /dev/sdd 25,150 33FF00 FF3333 scale -t}$color${alignr}${colo
Back-up Server Old Setup
10 Hits, Last modified:
xt4 errors=remount-ro 0 1 # swap was on /dev/sdd5 during installation UUID=e3442da3-4eaf-477d-... v devtmpfs 16G 0 16G 0% /dev tmpfs tmpfs 3.2G 2.7M 3.2G 1% /run /dev/sdd1 ext4 443G 161G 260G 39% / ... fs tmpfs 16G 0 16G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0
IPMI CLI Tools
10 Hits, Last modified:
U $User_Name -f $PW_file_location power status 2>/dev/null) if [ ${?} -ne 0 ] then exit 11 #error 1... IP -U $User_Name -f $PW_file_location power on &>/dev/null 2>/dev/null if [ $? -ne 0 ] then exit 12 #error 12 means that the ipmi tool power... (c=1; C<15; c++)) do ping -c1 -W1 -q $LAN_IP &>/dev/null if [ $? -eq 0 ] then exit 0
Rsync
7 Hits, Last modified:
ctHostKeyChecking=no \ -o UserKnownHostsFile=/dev/null \ -q user@host /usr/bin/hostname -s</cod... code>StrictHostKeyChecking no UserKnownHostsFile /dev/null LogLevel QUIET</code> For our backup utility... StrictHostKeyChecking no UserKnownHostsFile=/dev/null</code> In addition, add the following to the... onths When making the backups, the contents of ''/dev'', ''/proc'', ''/sys'', ''/tmp'', and ''/run'' sh
NUT (Network UPS Tools) Setup
5 Hits, Last modified:
d populate so: <code> #!/bin/sh /sbin/upsmon -K >/dev/null 2>&1 && /sbin/upsdrvctl shutdown </code> Nex... profile variable ''/bin/upsc KPBUPS@localhost 2>/dev/null''. *A script file to succinctly log the UP... t every 10 minutes ''sudo Myscripts/UPSScan.sh 2>/dev/null'',<code bash>#!/bin/bash # Logging output fo... =$logfile.$timestamp cp $logfile $newlogfile cat /dev/null > $logfile gzip -f -9 $newlogfile </code>
Linux Block Device Notes
3 Hits, Last modified:
available partition information *''sudo parted /dev/sda'' - to partition the specific drive When in p... artition 1 ---- ====Format==== ''sudo mkfs.ext4 /dev/sda1'' - to format the drive ---- ====Fstab==== ... ===mount==== ===Local Device=== **mount -t ext4 /dev/sdb1 /run/media/diska** ===NFS Device=== To mou
IPMI Console Setup
3 Hits, Last modified:
TIMEOUT=8 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="... large overheads) * The command ''sudo stty -F /dev/ttyS1'' can be used to check the parameters of th... erial connection. * The command ''sudo stty -F /dev/ttyS1 115200'' can be used to set the ttyS1 seria
Commonly used commands and scripts
3 Hits, Last modified:
| | php7.4-curl | | ✔ | ✔ | ✔ | | php7.4-dev | | ✔ | ✘ | ✘ | | php7.4-gd | | ✔ |... 0,55 * * * * /home/shared/Myscripts/UPSScan.sh 2>/dev/null #Runs Nut scan and logs formated results to ... ries) 4 Special files (usually found in /dev) 5 File formats and conventions, e.g. /e
BASH Customisation
1 Hits, Last modified:
# recently modified alias mnt='mount | grep -E ^/dev | column -t' # show mounted drives alias dirsize=
Calibre Server
1 Hits, Last modified:
d.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin''. As expected the installer came up with:
logrotate
1 Hits, Last modified:
=$logfile.$timestamp cp $logfile $newlogfile cat /dev/null > $logfile gzip -f -9 $newlogfile </code> Re
SSH Notes
1 Hits, Last modified:
LANG cores=$(grep -c ^processor /proc/cpuinfo 2>/dev/null) [ "$cores" -eq "0" ] && cores=1 threshold="