From: Will Budic Date: Wed, 14 May 2025 00:39:42 +0000 (+1000) Subject: html X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=056cb4c682ab12630d0e1d751c6e67f1582a9a12;p=LifeLog.git html --- diff --git a/htdocs/cgi-bin/docs/Linux/Linux Useful Utilities.md b/htdocs/cgi-bin/docs/Linux/Linux Useful Utilities.md new file mode 100644 index 0000000..db4d1d4 --- /dev/null +++ b/htdocs/cgi-bin/docs/Linux/Linux Useful Utilities.md @@ -0,0 +1,64 @@ + +# Linux Useful Utilities + + + + + + +- [Linux Useful Utilities](#linux-useful-utilities) + - [IO Monitoring](#io-monitoring) + - [iotop](#iotop) + - [dstat](#dstat) + - [Tar Pipe to Server via SSH](#tar-pipe-to-server-via-ssh) + - [hdparam](#hdparam) + + + + + +## IO Monitoring + +```sudo pidstat -dl 30``` + + Accumulate IO read/write for every 30 seconds. + +### iotop +Installation: + + sudo apt install iotop + +Run: + + sudo iotop -o -a + +### dstat + +> pcp-dstat - versatile tool for generating system resource statistics. + +Run: + +```dstat --disk --fs --top-io -n``` + +### Tar Pipe to Server via SSH + + > Backup an whole folder to an remote server location. + + +``` +tar --exclude=".cache" --exclude="/.vscode" -cJvf - /home/user1 | ssh user1@some.server "cat > ~/backups/user1_workstation_home.tar.xz" +``` + +### hdparam +>The hdparm command is a key tool for managing and optimizing hard drives in Linux, offering options to retrieve drive info, test read speeds, and adjust power settings. + +``` +sudo hdparm -Tt /dev/nvme1n1p2 + +/dev/nvme1n1p2: + Timing cached reads: 18622 MB in 1.98 seconds = 9388.32 MB/sec + Timing buffered disk reads: 4374 MB in 3.00 seconds = 1457.75 MB/sec + + ``` + + ![image desc](../../images/WelloffHighlevelAlpinegoat.webp) \ No newline at end of file diff --git a/htdocs/cgi-bin/docs/PerlCNF/Specifications_For_CNF_Data_Tables.md b/htdocs/cgi-bin/docs/PerlCNF/Specifications_For_CNF_Data_Tables.md index 06ffc32..0e4e08f 100644 --- a/htdocs/cgi-bin/docs/PerlCNF/Specifications_For_CNF_Data_Tables.md +++ b/htdocs/cgi-bin/docs/PerlCNF/Specifications_For_CNF_Data_Tables.md @@ -1,4 +1,4 @@ -# Configuration Network File Format Specifications - CNF Data and SQL Document Section +# CNF Specifications - Data and SQL Document Section This section is part of the main ⇾ [CNF specifications](docs/PerlCNF/Specifications_For_CNF_ReadMe.md) @@ -150,11 +150,11 @@ CNF Instructions are parallel with the reserved words. Which means, you can't us ## CNF Meta Instructions -> Various Meta instructions are available to aid processing and decision making +> Various Meta instructions are available to aid processing and decision-making *** - Document is from project ⇾ + Document is from project ⇾ An open source application. diff --git a/htdocs/cgi-bin/docs/PerlCNF/Specifications_For_CNF_ReadMe.md b/htdocs/cgi-bin/docs/PerlCNF/Specifications_For_CNF_ReadMe.md index dab9105..77fa77c 100644 --- a/htdocs/cgi-bin/docs/PerlCNF/Specifications_For_CNF_ReadMe.md +++ b/htdocs/cgi-bin/docs/PerlCNF/Specifications_For_CNF_ReadMe.md @@ -579,7 +579,7 @@ $APP_NAME="My Application Sample" *** - Document is from project ⇾ + Document is from project ⇾
The original project location ⇾ An open source application. diff --git a/htdocs/cgi-bin/docs/notes/dev_journal.md b/htdocs/cgi-bin/docs/notes/dev_journal.md new file mode 100644 index 0000000..6a21fed --- /dev/null +++ b/htdocs/cgi-bin/docs/notes/dev_journal.md @@ -0,0 +1,23 @@ +# Development History Plans/Journal + +# PerlCNF + +Perl based Configuration Network File Format Parser and Specifications. +CNF file format supports used format extraction from any text file. + + +--- +## Status +(2024-6-20) - v.3.2, SQLCNF package upgraded and enhanced. DATA instruction is now in a header reference + that contains spec and CNF row type. +(2023-6-14) - v.2.9, new meta flags and priority can be set via these pre-evaluation settings for instructions. + Node processing on demand and JSON translation on demand of CNFNode's (TREE instruction) is now available. + Online demo made available. +(2023-5-13) - v.2.8, has new instructions VARIABLE, to streamline under one tag like CONST, but for anons. +Has better tag mauling algorithm. PLUGIN code has been improved, particularly the synchronizing and the linking of properties. + +(2022-11-18) - PerlCNF now provides custom test manager and test cases. +That will in future be used for all projects as a copy from this project. +This is all available in the ./test directory and is not a Perl module. + +---