Comments (7)
Couple of things:
- You'll probably want to use
pidstat -hH
if you can sojc
can properly parse the timestamp field - I didn't realize that multiple table-types could be output (as when using
-T
) sojc
currently just looks up the columns of the first table it finds and applies it to the rest of the data. I'll need to rewrite the parser to check the table columns each time there is a header row.
from jc.
Added in v1.23.5
from jc.
Thanks for reporting this - I'll take a closer look at this in the next few days.
from jc.
Thanks @kellyjonbrazil ! For a workaround, I'm doing two separate calls, one for CHILD and for one TASK, and then parsing them separately, but it would be good to get them both at the same time in the list!
from jc.
I have a fix in the dev
branch it would be great if you could test. You can copy the new parser files to your plugin directory:
https://github.com/kellyjonbrazil/jc/blob/dev/jc/parsers/pidstat.py
https://github.com/kellyjonbrazil/jc/blob/dev/jc/parsers/pidstat_s.py
- Linux/unix:
$HOME/.local/share/jc/jcparsers
- macOS:
$HOME/Library/Application Support/jc/jcparsers
- Windows:
$LOCALAPPDATA\jc\jc\jcparsers
Could you let me know if that works for you? I'll get this in the next release. Thanks!
from jc.
Thank you! I should be able to make some time this week to test this out in the operator where it is working - just added to my TODO and will send you an update when I do.
from jc.
hey! Apologies for the wait - I just tested it out, and it looks great!
Please release away - I'll update my tools with the new release when you do. Thank you!
from jc.
Related Issues (20)
- busybox 'uptime' makes showing number of logged in users optional HOT 4
- Ansible community.general.jc error with JC 1.25.0 and ini parser HOT 13
- iwconfig parser don't work HOT 9
- /proc/pid/state parser add missing state 'I' HOT 2
- jc --rsync, it should be able to parse the summary of rsync, but doesn't work HOT 5
- New parser: php-fpm8.2 -tt HOT 2
- PostgreSQL INI files HOT 2
- xrandr fails to parse disconnected output, that is still enabled HOT 3
- iptables fails to parse -x (expand numbers) option because "pkts" header has more than one leading blank HOT 5
- Add `--locale` option to specify fallback encoding to decode `data_in` with HOT 1
- `lspci` parser PhySlot issue HOT 3
- Fix documentation for apt-get-sqq parser HOT 2
- New Parser - NUT-upsc command HOT 1
- [parsers /pci_ids.py] Only last [subvendor][subdevice] got loaded into result when multiple subdevices having the same subvendor id HOT 2
- Bug: Traceroute ignored IPs when multiple IPs on hop HOT 2
- "ss" Parser not working correctly: Entries Missing HOT 2
- .netrc support HOT 1
- Problem with --pip-show parser for a module with nothing on the License: line but which has following lines HOT 3
- lspci strips trailing digit on bus ID HOT 3
- `--zpool-status` fails to handle the `spares` section of `zpool status` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jc.