You are not logged in.

#1 2024-01-13 14:20:11

xerxes_
Member
Registered: 2018-04-29
Posts: 676

Can't do watch /proc/interrupts - thread to remove

Why I can do 'cat /proc/interrupts' but can't 'watch /proc/interrupts', even as root? It was possible some time ago.
Permissions for /proc/interrupts:

$ ls -l /proc/interrupts 
-r--r--r-- 1 root root 0 01-13 14:02 /proc/interrupts

Last edited by xerxes_ (2024-01-13 23:02:00)

Offline

#2 2024-01-13 14:22:59

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: Can't do watch /proc/interrupts - thread to remove

xerxes_ wrote:

[…]watch /proc/interrupts[…]

You're probably missing something there, because `watch` takes a command as argument, not a file (or rather, the file would need to be executable at least).
What is the goal?


pkgshackscfgblag

Offline

#3 2024-01-13 22:57:36

xerxes_
Member
Registered: 2018-04-29
Posts: 676

Re: Can't do watch /proc/interrupts - thread to remove

Good point: 'watch cat /proc/interrupts' work as expected. This thread may be removed. BTW 'watch tac...' look funny, but 'watch rev...' look weird.

Last question: most creative / unusual use of 'watch command' ?
My proposition: 'watch aafire'

Last edited by xerxes_ (2024-01-13 23:11:00)

Offline

Board footer

Powered by FluxBB