Skip to contentSkip to conversation

System Inactivity Monitor v1.0

ANNOUNCE Bodo Eggert 3 participants 4 messages Jan 25, 2007 7 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 6 lines · Scott Preece

My own hot button is making sure that the definition of what constitutes user activity is managed in exactly one place, whether in the kernel or not. My naive model would be to put the response at user level, but to provide a single point of definition in the kernel (say, /dev/useractivity or the equivalent) that the user-level daemon could listen to.

Imagine one computer serving two users. Two monitors, two keyboards ...

Signature · 4 lines
Funny quotes:
38. Last night I played a blank tape at full blast. The mime next door went
    nuts.
Friß, Spammer: [email protected]
#8 lore raw
Quoted 10 lines · Bodo Eggert
Quoted 6 lines · Scott Preece

My own hot button is making sure that the definition of what constitutes user activity is managed in exactly one place, whether in the kernel or not. My naive model would be to put the response at user level, but to provide a single point of definition in the kernel (say, /dev/useractivity or the equivalent) that the user-level daemon could listen to.

Imagine one computer serving two users. Two monitors, two keyboards ...

---

Good point! Of late I've been working on single-user systems, so it was not at the front of my brain, despite years of building and using multi-user systems.

It's a point that multi-user systems have struggled with forever (when somebody inserts a CR in the drive mounted in the system box, which user do you pop up a media player for?).

I tend to think it's not a kernel-vs-user-space issue, though. To solve it you need, somewhere, a notion of a "user session" and you need some way to separate system-level issues (like low-battery) from user-level issues (like activiating user X's screensaver).

#9 lore raw

"Scott Preece" <[email protected]> writes:

Quoted 1 line · Bodo Eggert

Imagine one computer serving two users. Two monitors, two keyboards ...

---

Good point! Of late I've been working on single-user systems, so it was not at the front of my brain, despite years of building and using multi-user systems.

It's a point that multi-user systems have struggled with forever (when somebody inserts a CR in the drive mounted in the system box, which user do you pop up a media player for?).

sed s/user X's screensaver/suspend to disk/g <<EOF

I tend to think it's not a kernel-vs-user-space issue, though. To solve it you need, somewhere, a notion of a "user session" and you need some way to separate system-level issues (like low-battery) from user-level issues (like activiating user X's screensaver).

EOF

Are you sure?

best,

Signature · 1 line
Experience teaches slowly and at the cost of mistakes. - James A. Froude
#10 lore raw
Quoted 16 lines · Alessandro Di Marco

"Scott Preece" <[email protected]> writes:

Quoted 1 line · Bodo Eggert

Imagine one computer serving two users. Two monitors, two keyboards ...

---

Good point! Of late I've been working on single-user systems, so it was not at the front of my brain, despite years of building and using multi-user systems.

It's a point that multi-user systems have struggled with forever (when somebody inserts a CR in the drive mounted in the system box, which user do you pop up a media player for?).

sed s/user X's screensaver/suspend to disk/g <<EOF

Quoted 8 lines

I tend to think it's not a kernel-vs-user-space issue, though. To solve it you need, somewhere, a notion of a "user session" and you need some way to separate system-level issues (like low-battery) from user-level issues (like activiating user X's screensaver).

EOF

Are you sure?

---

Well, a screensaver is associated with a particular user (and screen), but suspend-to-disk is a system-wide activity that would affect all the users. So you need to be able to separate those notions in deciding what actions to take.

scott