Search
You can find the results of your search below.
Fulltext results:
- SSH Notes
- and some that I do not like. This system status information script, ++++/etc/update-motd.d/50-landscape-sysinfo| <code> #!/bin/sh # pam_motd does not carry the e... d higher than $threshold" fi</code> ++++ The main information script is written in python3, ++++/usr/bin/landscape-systeminfo| <code> #!/usr/bin/python3 import sys, os try: ... lled, ''pip install twisted'' to install *if cpuinfo not installed, ''pip install py-cpuinfo'' to install ++++ ====Python Code==== ++++python... r: {uname.processor}") print(f"Processor: {cpuinfo.get_cpu_info()['brand_raw']}") print(f"Ip-Address: {socket
- Conky
- t use high-level widget tool-kits to render their information, Conky is drawn directly in an X window, a... ---------- # }; conky.text = [[ # General system information ${color1}SYSTEM INFORMATION ${hr 2}$color ${color0}System: ${tab 50}$color$nodename ${alignr}${c... 50}$color${execi 99999 grep 'model name' /proc/cpuinfo | awk '{ print $6 }' | sed '2,$d'} / ${execi 9999
- BASH Customisation
- -L'', ''%%--dereference%%'' : when showing file information for a symbolic link, show information for the file the link references rather th... | head -10' # get top process eating cpu alias cpuinfo='lscpu' # Get server cpu info alias gpumeminfo='grep -i --color memory /var/log/Xorg.0.log' # get GPU ram on desktop / laptop alias f... . I was original a program to store and retrieve information to tape backup system. Basic tar function
- Commonly used commands and scripts
- *notice - normal but significant condition *info - informational *debug - debug-level messages ==... sudo vim /var/www/html/test.php'': <code>?php phpinfo(); ?></code> From command line (cli) * ''php -... r -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cro... of week is 3 (Wednesday).\\ See ''man date'' for information on the date function and return formats.
- Rsync
- net/man/5/rsyncd.conf *https://www.server-world.info/en/note?os=Ubuntu_18.04&p=rsync *https://www.at... ach run, but makes extensive use of [[http://www.linfo.org/hard_link.html|hard links]] for files that ha... /backup_user/backup.log" # Place in the log file information concerning the execution of this script ec... de-windows'': <code>- /cygdrive/c/System\ Volume\ Information/* - /cygdrive/c/Windows/System32/winevt/*
- IPMI Console Setup
- us -H 192.168.1.40 -U baumkp -f /etc/ipmitool sol info'' are: * -I : Selects IPMI interface to use; ... us -H 192.168.1.40 -U baumkp -f /etc/ipmitool sol info''. This gives the following output: <file> Set i... y a bit old as it does not give any systemd setup information. I adjusted my grub boot loader configura... cumentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_DEFAULT=0
- Manjaro Setup Notes
- ters -------------------- # TEXT # General system information ${color1}SYSTEM INFORMATION ${hr 2}$color ${color0}System: $color$nodename ${alignr}${color0}Upt... e: $color${execi 99999 grep 'model name' /proc/cpuinfo | awk '{ print $6 }' | sed '2,$d'} / ${execi 99999 grep 'model name' /proc/cpuinfo | wc -l} Cores ${color0}CPU Speed: $color${freq 0
- IPMI CLI Tools
- Log (SEL): ''sudo ipmitool sel'' * Retrieve BMC info: '' ipmitool -I lanplus -H 192.168.1.42 -U baumkp -a bmc info'' * List Authorised Users: ''sudo ipmitool user... * List active ILOM Sessions: ''ipmitool session info all'' Not much use for me.... * Reset the ILOM
- Back-up Server Old Setup
- merge file system, just overlay file system. The information available to set up was some of the worst ... o a common mount point. Below are some links with information and and possible setups. *[[https://self... ^ | s | ''pvs'' | ✘ | ✔ | ✔ | ✔ | Display information about physical volumes | | display | ''pvd... ecuted # 4 Extra Verbose Show extra verbose information # 5 Debug mode Everything # verbo
- samba
- = no # We want Samba to log a minimum amount of information to syslog. Everything # should go to /var/... rameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for # sending the correct c... ba Server Simple]] * [[https://www.server-world.info/en/note?os=Debian_11&p=samba&f=2|Samba : Limited
- Linux Block Device Notes
- udo parted -l'' - to see all available partition information *''sudo parted /dev/sda'' - to partition... in parted: *''print'' to see current partition information *''mkpart help'' to list option *''mkl... stian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digi
- VIM Editor
- if moving from graphical user environment. Some Informative Links: *[[https://simpletutorials.com/c/... The VIM Wiki]], contains a lot of VIM help / user information. *[[http://vim.wikia.com/wiki/Vim_Tips_W... e links should be explored to see what additional information could be gathered for this cheat sheet.
- NUT (Network UPS Tools) Setup
- orks driver = nutdrv_qx # works with more info than blazer_usb port = auto desc ... it] Description=Network UPS Tools - power devices information server After=nut-driver.service [Service]
- Time Date Related Setup
- '' command to interogate and modify time and date information as required, mainly used to set local time... datectl status'' to list current system time date information. *''timedatectl list-timezones'' to list
- systemd Stuff
- 3: err * 4: warning * 5: notice * 6: info * 7: debug * ''-r'' flag is used to show in