Debdeep Pal

Results 11 comments of Debdeep Pal

Hey @bmcutler, I would like to work on this issue.

Hey @Sferratore, are u still working on it?

> > Hey @Sferratore, are u still working on it? > > Hi, unfortunately I'm having problems with my devices lately. I need to wait a couple days before being...

> > > > Hey @Sferratore, are u still working on it? > > > > > > > > > Hi, unfortunately I'm having problems with my devices lately....

Hey @garrett, I would like to work on this issue.

> > Hey @garrett, I would like to work on this issue. > > @dev-DTECH This is not a very easy `good first issue` actually. You will need to parse...

Hey @KKoukiou, I searched a bit and figured output that the command 'last -x' shows the timings of crash/reboot/shutdown So I am trying to use the output of this command...

Hey @KKoukiou, so I got the reboot times using `cockpit.spawn("last -x | grep reboot".split(" "))` > Every reboot has a start time and end time ![image](https://user-images.githubusercontent.com/55497045/229887872-b43e1007-0a7e-4dd9-b562-15d915bd17fa.png) So should I show...

Ok that's much better formatted > This is `cockpit.spawn(["last", "--time-format=iso", "reboot"])` then the time parsed with [parseISO()](https://date-fns.org/v2.29.3/docs/parseISO) ![image](https://user-images.githubusercontent.com/55497045/229996421-2cb0a506-5b92-4295-9ff5-85adda88f758.png) Thanks for the help. This will make my task so much easier.

@tofilwiktor are you still working on this? I would like to work on this issue.