size

Search

You can find the results of your search below.

SSH Notes
15 Hits, Last modified:
info import socket import uuid import re def get_size(bytes, suffix="B"): """ Scale bytes to it... = psutil.virtual_memory() print(f"Total: {get_size(svmem.total)}") print(f"Available: {get_size(svmem.available)}") print(f"Used: {get_size(svmem.used)}") print(f"Percentage: {svmem.percent}%
Manjaro Setup Notes
12 Hits, Last modified:
# Default color and border color default_bar_size 0 6 # Specify a default width and height for bars. default_gauge_size 25 25 # Specify a default width and height for gauges. default_graph_size 0 25 # Specify a default width and height for... ace library (anti-aliased font) xftfont Monospace:size=11:weight=bold # Xft font to be used # -----
IPMI Console Setup
6 Hits, Last modified:
o the BMC network) -tty terminal controls (e.g. size) An important reference to setting this up is my... ''stty'' can be used to manually set the terminal size, e.g. ''stty cols 132 rows 34'' * The command '... zes the stty terminal to match the local terminal size. (Seems to require large overheads) * The comma... cols"|tput -S'' to get both using tput * ''stty size'', is POSIX compliant * ''stty size | cut -d" "
Back-up Server Old Setup
5 Hits, Last modified:
s ''df -Th'' <code> Filesystem Type Size Used Avail Use% Mounted on udev devtmp... data in some special # cases # # LVM snapshot(s) size (lvcreate --size option). # #linux_lvm_snapshotsize 100M # Name to be used when creating the LVM logic... data in some special # cases # # LVM snapshot(s) size (lvcreate --size option). # #linux_lvm_snapshotsi
BASH Customisation
4 Hits, Last modified:
tories recursively * ''-S'' : sort by file size, largest first * ''-t'' : sort by time ... ='trash-list' alias srmt='sudo trash-put' # FILE SIZE AND STORAGE alias fdisk='sudo fdisk -l' alias uui... uto' alias lt='ls --human-readable --color=auto --size -1 -S --classify' # file size sorted alias lsr='ls --color=auto -t -1' # recently modified alias mnt='m
Rsync
1 Hits, Last modified:
fter its truncated MINLINES=2000 # Calculate the size of the Log file LOGSIZE=$( wc $LOG | awk '{ print
VIM Editor
1 Hits, Last modified:
urrent window | | %%ctrl-w=%% | Gives the same size to all windows | | %%10 ctrl-w+%% | Add 10 lin