Y
Hacker News
new
|
ask
|
show
|
jobs
by
jluxenberg
2195 days ago
Pro tip: you can make any command into a real-time one with `watch`:
watch bash -c "topngx < /path/to/access.log"
Will run `topngx` against access.log every two seconds and display the output.
1 comments
gregoriol
2195 days ago
That's not "real time"! And definitely won't behave well if the processing takes more than 2 seconds (imagine log files of many millions rows)
link
cyberpunk
2195 days ago
It'll just wait two seconds after the command returns, not spawn one every two seconds.....
link