KPTree Wiki logo

KPTree Wiki

  • Page Tools
    Show pageOld revisionsBacklinks
  • Site Tools
    Recent ChangesMedia ManagerSitemap
  • User Tools
    Log In

Search

You can find the results of your search below.

Ends with
  • Exact match
  • Starts with
  • Ends with
  • Contains
@home_server:home_server_setup:other_services
  • Any namespace
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • Linux Block Device Notes

Fulltext results:

Conky
40 Hits, Last modified: 5 years ago
or /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,... ev/nvme0n1p1 ${color0}Reads: $color${diskio_read /dev/nvme0n1p1}/s${alignr}${color0}Writes: $color${diskio_write /dev/nvme0n1p1}/s ${color3}${diskiograph_read /dev/nvm... lor /dev/sdd ${color0}Reads: $color${diskio_read /dev/sdd}/s${alignr}${color0}Writes: $color${diskio_write /dev/sdd}/s ${color8}${diskiograph_read /dev/sdd 25,15... /dev/nvme0n1 ${color0}Reads: $color${diskio_read /dev/nvme0n1}/s${alignr}${color0}Writes: $color${diskio_write /dev/nvme0n1}/s ${color8}${diskiograph_read /dev/nvme0
Manjaro Setup Notes
12 Hits, Last modified: 18 months ago
v/nvme0n1p5 #${color0}Reads: $color${diskio_read /dev/sdd}/s${alignr}${color0}Writes: $color${diskio_write /dev/nvme0n1p5}/s #${color8}${diskiograph_read /dev/sd... ev/nvme0n1p5 ${color0}Reads: $color${diskio_read /dev/nvme0n1p5}/s${alignr}${color0}Writes: $color${diskio_write /dev/nvme0n1p5}/s ${color8}${diskiograph_read /dev/nvme0n1p5 25,150 33FF00 FF3333 scale -t}$color${alignr}${color8}${diskiograph_write /dev/nvme0n1p5 25,150 33FF00 FF3333 scale -t}$color #
Back-up Server Old Setup
11 Hits, Last modified: 21 months ago
Type Size Used Avail Use% Mounted on udev 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... use.mergerfs 11T 177M 11T 1% /srv/storage /dev/sdb1 ext4 5.5T 89M 5.2T 1% /m
IPMI CLI Tools
10 Hits, Last modified: 3 years ago
IP -U $User_Name -f $PW_file_location power on &>/dev/null 2>/dev/null if [ $? -ne 0 ] then exit 12 ... -U $User_Name -f $PW_file_location power soft &>/dev/null 2>/dev/null if [ $? -ne 0 ] then exit 12 ... U $User_Name -f $PW_file_location power status 2>/dev/null) if [ ${?} -ne 0 ] then exit 11 #e... 8.1.41 -U baumkp -f /etc/ipmitool power status &>/dev/null) ; echo $? rc=$? if ["$?" -ne "0"] then ech
Linux Block Device Notes
7 Hits, Last modified: 8 months ago
Notes ===== ====Some basic tools==== *''ls -l /dev/disk/by-uuid/'' will list the disks with UUIDs ... 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
Rsync
7 Hits, Last modified: 8 months ago
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: 3 years ago
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>
IPMI Console Setup
3 Hits, Last modified: 17 months ago
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: 12 months ago
| | 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
snapraid
2 Hits, Last modified: 7 months ago
2 -d usbjmicron %s #smartctl parity -d areca,1/1 /dev/sg0 #smartctl 2-parity -d areca,2/1 /dev/sg0 </code> ++++ <- home_server:home_server_setup:other_serv
logrotate
1 Hits, Last modified: 3 years ago
=$logfile.$timestamp cp $logfile $newlogfile cat /dev/null > $logfile gzip -f -9 $newlogfile </code> Re
BASH Customisation
1 Hits, Last modified: 10 months ago
# recently modified alias mnt='mount | grep -E ^/dev | column -t' # show mounted drives alias dirsize=
SSH Notes
1 Hits, Last modified: 21 months ago
LANG cores=$(grep -c ^processor /proc/cpuinfo 2>/dev/null) [ "$cores" -eq "0" ] && cores=1 threshold="
Calibre Server
1 Hits, Last modified: 5 years ago
d.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin''. As expected the installer came up with:
Simlinks
1 Hits, Last modified: 21 months ago
k all these are stored as files. *''find dir -xdev \! -type d -links +1 -printf '%20D %20i %p\n' |