%s~6 -%s %s -%s /etc/toprc%fXDG_CONFIG_HOME%s/.config%s/procps%s/procps/%src/etc/topdefaultrc+,-.kmgtpe+-./dev/null%s fieldscur=%s %s/.%src \/<>kjhl%.0f%-.*s~7%-.*s~8%-.*s~4%-.*s~6%.0f %#.1f ������������������������/������������������/��p��/��`��`��`�����������������p���,��:/��:/��:/��:/���.���.���.��,/��hp���p���o��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p���p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��<p��q��q��<p��<p��<p��<p��<p��<p��Hp���s��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs���s��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Ht��Xs���t��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��xu��Xs��Xs��Xs��Xs���u��Xs��Xs���v���v��Xs��w��`w��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs��Xs���w���w��Xs��Xs��Xs��Xs��Xs�� x���x��Xs��Xs��Xs���s���u��Xs��Xs��Xs��Xs��Xs��w��Xs��Xs���x��`y���s�� ���߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃������߃��߃��߃��߃������߃��߃��߃��߃��߃��H���߃��߃��߃��߃��߃��߃��߃��߃��H���߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��5���߃��߃��߃��߃��߃��߃��߃��߃��߃�� ���߃��߃��߃��߃��H���߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��އ��߃��߃��߃��߃������߃��߃��߃��߃��߃��߃��H���߃��߃������߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃��߃����������m���S���އ���������� �����4���4���4���4���4���4���4���4���4���4���4���4���4���4�������4���4����4���4������<���4���<�������4���4���4���4���4���4���4���4���4���4���4���4���4���4�������ܑ����4���4���4���4���4���4���4���4���4�������l���<�����������4���4���\���4���4���4���4���4���4���,������� ������������������������������������������������������������������̕��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������\���������̕���������������������������������������������������������\������������������������������ܔ��|��� ���l���\���L���\���L���ؑ��ؑ��ؑ��ؑ��ؑ��ؑ��ؑ��ؑ����������������������ȑ��������������������������������������h���H�����������������������������������������������������������������������������������P���n���F���������P������������������7���ܰ��/������ٯ��Q������������O�����������L��� ���ث������R������̪������v���K���ݩ�� ���|�����������������������Ѥ��|���i�������A�������������������������������0�������������מ�����Ҡ�� ���#���#���`��0��0��0��0�����0�����0��0��0��0��0��0��0��0��0��0��0��0��0��0��0����0��0��0����0��0��0��0��0��0��0��0��0��0��`��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0�����0�����0��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0��0�����0��0��0��0��0��0��0��0��0�����0��x�����H��������X��4��������������������������������������������������������������������������������������������������������������������q�\���������|���d�����D�����q�4�+,-.0123456789%&*'(-0346789:;<=>?@ACDEFGML)+,./125BHIJKNOPQRSTUVWXYZ[�����������������������������������������������������������������������������|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Id:%c, Mode_altscr=%d, Mode_irixps=%d, Delay_time=%d.%d, Curwin=%d winflags=%d, sortindx=%d, maxtasks=%d, graph_cpus=%d, graph_mems=%d summclr=%d, msgsclr=%d, headclr=%d, taskclr=%d Fixed_widest=%d, Summ_mscale=%d, Task_mscale=%d, Zero_suppress=%d cpu %llu %llu %llu %llu %llu %llu %llu %llucpu%d %llu %llu %llu %llu %llu %llu %llu %llu%%%s ~3%#5.1f~2/%-#5.1f~3 %3.0f[~1%-*s]~1 %s%c%s%s %s%-*.*s%s%s%s %-*.*s%s%s %s:~3%#5.1f~2/%-9.9s~3[~1%-*s]~1 %s %s:~3%#5.1f~2/%-9.9s~3[~1%-*s]~1 %s's Config File (Linux processes with windows) �:�?�?�B ף;zDO�O�G��@@��D(knN{�G�z�?Y@33333?�@�?/usr/share/localeprocps-ngProcess IdPPIDParent Process pidEffective User IdEffective User NameRUIDReal User IdRUSERReal User NameSUIDSaved User IdSUSERSaved User NameGROUPGroup NamePGRPProcess Group IdTTYControlling TtyTPGIDTty Process Grp IdSIDSession IdPRPriorityNINice ValuenTHNumber of ThreadsLast Used Cpu (SMP)%CPUCPU UsageTIMECPU TimeTIME+CPU Time, hundredths%MEMMemory Usage (RES)VIRTVirtual Image (KiB)SWAPSwapped Size (KiB)RESResident Size (KiB)CODECode Size (KiB)DATAData+Stack (KiB)SHRShared Memory (KiB)nMajMajor Page FaultsnMinMinor Page FaultsnDRTDirty Pages CountProcess StatusCOMMANDCommand Name/LineWCHANSleeping in FunctionFlagsTask Flags <sched.h>CGROUPSControl GroupsSUPGIDSSupp Groups IDsSUPGRPSSupp Groups NamesTGIDThread Group IdOOMaOOMEM AdjustmentOOMsOOMEM Score currentENVIRONEnvironment varsvMjMajor Faults deltavMnMinor Faults deltaUSEDRes+Swap Size (KiB)nsIPCIPC namespace InodensMNTMNT namespace InodensNETNET namespace InodensPIDPID namespace InodensUSERUSER namespace InodensUTSUTS namespace InodeLXCLXC container nameRSanRES Anonymous (KiB)RSfdRES File-based (KiB)RSlkRES Locked (KiB)RSshRES Shared (KiB)CGNAMEControl Group nameNULast Used NUMA node %s Usage: %s%sfailed /proc/stat open: %sfailed openproc: %sbad delay interval '%s'bad iterations argument '%s'pid limit (%d) exceededbad pid '%s'-%c requires argumentbad width arg '%s'-d requires positive argumentOnOfffailed /proc/stat readForest mode %sfailed tty getfailed tty set: %sChoose field group (1 - 4)No colors to map!Failed '%s' open: %sWrote configuration to '%s'Change delay from %.1f toShow threads %sIrix mode %sInvalid signalRenice PID %d to valueCumulative time %sInvalid maximumWhich user (blank for all)failed memory allocatefailed memory re-allocateUnacceptable floating pointInvalid userforest viewfailed pid maximum size testfailed number of cpus testUnavailable in secure modeOnly 1 cpu detectedUnacceptable integerKiBMiBGiBTiBPiBEiBTasksCpu(s):Cpu%-3d:another Locate next inactive, use "L"Locate string%s"%s" not foundunrecognized field name '%s'Open FilesNUMA InfoLogdemoSelection failed with: %s patience please, working...ignoring casecase sensitiveduplicate filter was ignored'%s' filter value is missingincludeexcludenoneNode%-2d:expand which node (0-%d)invalid nodeMem Swapbad memory scaling arg '%c' signal %d (%s) was caught by %s, please send bug reports to <procps@freelists.org> inappropriate '%s' Usage: %s%sunknown option '%c' Usage: %s%s-d disallowed in "secure" mode -hv | -bcEHiOSs1 -d secs -n max -u|U user -p pid(s) -o field -w [cols]Command disabled, 'A' mode requiredCommand disabled, activate %s with '-' or '_'PID to signal/kill [default pid = %d]Send pid %d signal [%d/sigterm]Failed signal pid '%d' with '%d': %sPID to renice [default pid = %d]Failed renice of PID %d to %d: %sRename window '%s' to (1-3 chars)Maximum tasks = %d, change to (0 is unlimited)Unknown command - try 'h' for helpscroll coordinates: y = %d/%%d (tasks), x = %d/%d (fields)incompatible rcfile, you should delete '%s'window entry #%d corrupt, please delete '%s'conflicting process selections (U/p/u)width incr is %d, change to (0 default, -1 auto)rcfile has 'inspect' entry error(s), write anyway?even using field names only, window is now too smallthe '=' key will eventually show the actual file read or command(s) executed ...This is simulated output representing the contents of some file or the output from some command. Exactly which commands and/or files are solely up to you.
Although this text is for information purposes only, it can still be scrolled and searched like real output will be. You are encouraged to experiment with those features as explained in the prologue above.
To enable real Inspect functionality, entries must be added to the end of the top personal personal configuration file. You could use your favorite editor to accomplish this, taking care not to disturb existing entries.
Another way to add entries is illustrated below, but it risks overwriting the rcfile. Redirected echoes must not replace (>) but append (>>) to that file.
If you don't know the location or name of the top rcfile, use the 'W' command and note those details. After backing up the current rcfile, try issuing the above echoes exactly as shown, replacing '.toprc' as appropriate. The safest approach would be to use copy then paste to avoid any typing mistakes.
Finally, restart top to reveal what actual Inspect entries combined with this new command can offer. The possibilities are endless, especially considering that 'pipe' type entries can include shell scripts too!
For additional important information, please consult the top documentation. Then enhance top with your very own customized 'file' and 'pipe' entries.
Enjoy! to enable 'Y' press <Enter> then type 'W' and restart topunable to inspect, pid %d not foundinspect at PID [default pid = %d]%s: %*d-%-*d lines, %*d-%*d columns, %lu bytes readadd filter #%d (%s) as: [!]FLD?VAL'%s' filter delimiter is missing<Enter> to resume, filters: %ssorry, NUMA extensions unavailableHelp for Interactive Commands~2 - %s Window ~1%s~6: ~1Cumulative mode ~3%s~2. ~1System~6: ~1Delay ~3%.1f secs~2; ~1Secure mode ~3%s~2.
%s W,Y Write configuration file '~1W~2'; Inspect other output '~1Y~2' q Quit ( commands shown with '.' require a ~1visible~2 task display ~1window~2 ) Press '~1h~2' or '~1?~2' for help with ~1Windows~2, Type 'q' or <Esc> to continue k,r Manipulate tasks: '~1k~2' kill; '~1r~2' renice d or s Set update interval Help for Windows / Field Groups~2 - "Current Window" = ~1 %s ~6
. Use multiple ~1windows~2, each with separate config opts (color,fields,sort,etc) . The 'current' window controls the ~1Summary Area~2 and responds to your ~1Commands~2 . that window's ~1task display~2 can be turned ~1Off~2 & ~1On~2, growing/shrinking others . with ~1NO~2 task display, some commands will be ~1disabled~2 ('i','R','n','c', etc) until a ~1different window~2 has been activated, making it the 'current' window . You ~1change~2 the 'current' window by: ~1 1~2) cycling forward/backward;~1 2~2) choosing a specific field group; or~1 3~2) exiting the color mapping or fields screens . Commands ~1available anytime -------------~2 A . Alternate display mode toggle, show ~1Single~2 / ~1Multiple~2 windows g . Choose another field group and make it 'current', or change now by selecting a number from: ~1 1~2 =%s;~1 2~2 =%s;~1 3~2 =%s; or~1 4~2 =%s . Commands ~1requiring~2 '~1A~2' mode~1 -------------~2 G . Change the ~1Name~5 of the 'current' window/field group ~1*~4 a , w . Cycle through all four windows: '~1a~5' Forward; '~1w~5' Backward ~1*~4 - , _ . Show/Hide: '~1-~5' ~1Current~2 window; '~1_~5' all ~1Visible~2/~1Invisible~2 The screen will be divided evenly between task displays. But you can make some ~1larger~2 or ~1smaller~2, using '~1n~2' and '~1i~2' commands. Then later you could: ~1*~4 = , + . Rebalance tasks: '~1=~5' ~1Current~2 window; '~1+~5' ~1Every~2 window (this also forces the ~1current~2 or ~1every~2 window to become visible)
In '~1A~2' mode, '~1*~4' keys are your ~1essential~2 commands. Please try the '~1a~2' and '~1w~2' commands plus the 'g' sub-commands NOW. Press <Enter> to make 'Current' Help for color mapping~2 - %s current window: ~1%s~6