Giter Site home page Giter Site logo

Comments (4)

3fr61n avatar 3fr61n commented on May 31, 2024

Hi @blourdel

Could you please tell me which command are you trying to collect that contains timestamp? I'll try to check what options do we have.

Regards

from open-nti.

blourdel avatar blourdel commented on May 31, 2024

Hi,

I am issuing :
regress@hongkong> show system processes extensive
........
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
10 root 4 155 ki31 0K 64K RUN 3 431.0H 390.19% idle
9738 root 1 34 0 725M 12044K select 0 0:12 5.18% python
5280 root 4 20 0 5194M 4255M kqread 1 145:33 0.29% rpd

I am after the TIME column : 0:12 145:33
a potential value is 431.0H as well but not sure if we can deal with it.

from open-nti.

3fr61n avatar 3fr61n commented on May 31, 2024

Yes you're right, that field changes it format across time, at the beginning of this thread I though you were asking other timestamp fields in other junos commands, in those cases I use the xml attribute junos:seconds as a feasible workaround, but sadly is not your case

<date-time junos:seconds="1481112868">2016-12-07 13:14:28 CET</date-time>

from open-nti.

dgarros avatar dgarros commented on May 31, 2024

FYI, I'm working on a big refresh of the netconf collector, I think this enhancement could be done as part of this effort.
Hopefully I'll have more to share in 1 week

from open-nti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.