Jarrod Johnson
b1f8cf8f12
Avoid redrawing 'powered off' redundantly.
...
If the power state stays the same between queries, take no action to clear screen and
draw redundant data.
In the case of misreporting devices, it mitigates the impact of incorrect reporting,
while generally preserving the output behavior when accurate.
2024-11-11 13:51:10 -05:00
Markus Hilger
a3212d7603
Fix nodesensors --skipnumberless help text
2024-09-26 13:19:21 +02:00
Jarrod Johnson
1f6987bafc
Fix nodedeploy -c with profile
...
Remove vestigial statement near end, and put an up front
clarification to a user trying to use both '-c' and a
profile on the same command line.
2024-08-31 07:28:51 -04:00
Jarrod Johnson
cd91ed0b94
Fix escape warning on newer python
2024-08-27 15:55:54 -04:00
Jarrod Johnson
4dc54b92d5
Correct nodeconsole syntaxwarning
2024-08-27 11:35:39 -04:00
Jarrod Johnson
77c5b70ad9
Wire up '-a -e' for nodeconfig
2024-08-26 09:34:58 -04:00
tkucherera
8d726bced9
better error handling
2024-07-15 09:22:59 -04:00
Jarrod Johnson
60f8f964f5
Merge pull request #144 from tkucherera-lenovo/nodebmcpassword
...
nodebmcpassword
2024-04-29 10:50:09 -04:00
tkucherera
8f01f22bb5
add password prompting and env var
2024-04-24 10:00:49 -04:00
Jarrod Johnson
b606882327
Have collate preserve relative whitespace
...
The change to tolerate either a space or no space ended up
greedily consuming whitespace. Do best possible in two cases:
For log, use the first line as a clue, and consistently pad or not pad
according to first line. It won't catch different pad strategies, or
handle first line being indented but other lines not being indented.
For the textgroup variant, allow subsequent lines to revise the
pad downward, and accept any whitespace, not just space.
2024-04-19 08:22:32 -04:00
tkucherera
894290f577
nodebmcpassword
2024-04-03 18:46:37 -04:00
tkucherera
296a0e88b4
making the use cases more generic
2024-03-24 11:41:23 -04:00
tkucherera
466ed74961
l2traceroute
2024-03-22 11:37:51 -04:00
Jarrod Johnson
5a7d98c6b8
Enhance error reporting
...
For one, when using confluent expressions, induce {} to be an error to
trigger an error for someone trying to xargs something.
Another is to add warnings when clear does something deliberately, but
is something that might surprise a user, steering them toward
what they possibly might want to do instead.
2024-03-21 16:09:37 -04:00
Jarrod Johnson
17af9c74b8
Fix nodeapply redoing a single node multiple times
2024-03-12 15:33:31 -04:00
Jarrod Johnson
3ffeef5cf3
Fix stray blank line at end of nodelist
...
Wrong indentation level for nodelist resulting in
spurious line.
2024-03-06 16:27:09 -05:00
Jarrod Johnson
9757cd1ae3
Check the profile *before* rebooting systems
...
This provides a much better experience when a typo or
other mistake has a profile that is not actionable.
2023-11-16 10:20:48 -05:00
Jarrod Johnson
0434f38ea1
Add iterm and kitty image support to stats
...
This delivers improved graphics
speed and quality for selected terminals.
2023-10-13 15:25:08 -04:00
Jarrod Johnson
06ee48f702
Merge pull request #135 from tkucherera-lenovo/Nodeattrib
...
missing_shlex import in nodeattrib
2023-10-05 12:53:16 -04:00
tkucherera
77eec1a791
missing_shlex import in nodeattrib
2023-10-05 11:44:04 -04:00
Jarrod Johnson
cca0c57e90
Merge pull request #132 from tkucherera-lenovo/nodersync
...
node rsync -s switch
2023-10-02 12:57:19 -04:00
tkucherera
b63d75f2bb
change to remove to many conditionals
2023-09-29 12:07:38 -04:00
tkucherera
378929579f
Allow to be able to specify prefix as well
2023-09-28 08:56:52 -04:00
tkucherera
eee8bbb498
node rsync -s switch
2023-09-27 17:52:15 -04:00
Jarrod Johnson
3624013889
Merge pull request #130 from tkucherera-lenovo/Nodeattrib
...
Nodeattrib
2023-09-20 15:07:02 -04:00
tkucherera
5768514ba9
nodeattrib -s attrib.batch
2023-09-20 14:29:21 -04:00
weragrzeda
c7a323b370
nodelist delimiters fixed for py2 compatibility
2023-08-15 16:31:38 +02:00
root
9e070a14d4
nodelist delimiters
2023-08-15 15:58:10 +02:00
Jarrod Johnson
1695e222ec
Rename command to nodeapply, by popular demand
2023-06-22 14:16:54 -04:00
tkucherera
89af8661da
change timestamp log option from -d to -T
2023-06-12 10:51:29 -04:00
Tinashe
190ec2473b
dump log to stfout with timestamps
2023-05-31 17:39:53 -04:00
Jarrod Johnson
36e61f301a
Add a nodefreshen command
...
This aims to provide the same shortcuts as 'updatenode'
2023-05-18 15:03:29 -04:00
Jarrod Johnson
ec54ecc9cd
Fix tiling with different gravity
...
In some environments, the coordinates may be reported in a
different format. Handle the different context.
2023-04-28 09:20:31 -04:00
Tinashe
a35a7e74c3
tmux session resuse
2023-04-27 15:39:32 -04:00
Tinashe
71a263366d
wkill like command fix
2023-04-21 10:22:10 -04:00
Jarrod Johnson
ff025989c6
Restore spacing around float in nodesensors
...
The managed formatting needs
to be padded in the non-csv output.
2023-03-16 17:29:36 -04:00
Jarrod Johnson
59b07665ab
Modify float formatting again
...
Make sure at least one decimal is in a float.
Maximum precision of 5 past.
2023-02-24 12:03:43 -05:00
Jarrod Johnson
2379f6f90f
Change nodesensors format of float
...
Floats are either unnecessarily long
in normal output, or too unconstrained in CSV output.
Normalize to as many digits as 'makes sense' up to 5 digits.
5 miight seem a bit much, but one common metric is kWh, which may need
that precision over short intervals.
2023-02-22 08:41:46 -05:00
Jarrod Johnson
77ba0acee6
Merge pull request #122 from Tkucherera/nodeconsole-kill
...
nodeconsole <noderange> kill: added functionality for closing open win…
2023-02-16 16:37:07 -05:00
Tinashe
b2c773bb84
nodeconsole <noderange> kill:added functionality for closing open windowed consoles
2023-02-16 15:54:21 -05:00
Jarrod Johnson
a02f617b3d
Add DDR5 dimm to nodeinventory CLI output
2023-02-07 14:01:18 -05:00
Tinashe
2e283f3442
nodeconsole: missing imports time and socket
2023-01-30 14:13:44 -05:00
Tinashe
2cc134adeb
nodeconsole: allow for passthrough args
2023-01-27 09:30:46 -05:00
Tinashe
3433635e9b
nodeeventlog: timeframe option
2023-01-26 10:16:33 -05:00
Tinashe
f176a836ae
nodeecentlog: add timeframe option
2023-01-26 10:01:02 -05:00
Tinashe
23ea53ab55
console geometry 100x31
2023-01-24 11:18:21 -05:00
Tinashe
b965f9b758
nodeconsole windowed and tiled functionality
2023-01-20 16:41:56 -05:00
Tinashe
c3d0d255d3
nodeeventlog: -l return last n lines for each node
2023-01-20 12:13:15 -05:00
Tinashe
46d0a8d222
nodeeventlog: return last n entries
2023-01-20 10:09:52 -05:00
Jarrod Johnson
0929f059e2
Increase track size in dir2img
...
Larger images still run afoul of track limits
in mtools. Make tracks 4 times as big
to lower number of required tracks.
2023-01-17 10:02:51 -05:00