View previous topic :: View next topic |
Author |
Message |
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Tue Dec 23, 2014 10:55 pm Post subject: Use genlop to display longest compile times recorded |
|
|
Has anyone written a script or a tool for genlop to display/sort the longest compile times recorded on the system? _________________ John5788 |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Dec 29, 2014 10:04 am Post subject: |
|
|
if you query genlop to get an option to display times in number format instead of human readable one (x hours x minutes...) then you could parse the output thru sort and get that functionality.
so bugs.gentoo.org is where to query something. |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Mon Dec 29, 2014 2:25 pm Post subject: |
|
|
If you know some bash scripting, I think it should be possible to rip out the "my_genlop()" function from my "quietemerge" script. I think in that function you would have to replace the line 772 with something that does "max(tmp_sum, tmp - line)".
The output of this "my_genlop()" function is already in seconds, so it should help you. I had written this bash function because I needed something faster than genlop. _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
|