且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Linux中的用户空闲时间

更新时间:2023-11-22 08:12:40

在Internet部门中,我发现了类似的内容,并且看起来像在工作-但仍然不是完美的解决方案,因为它返回的信息远远超出了我的需要,而且适当值附近的数字不是恒定的(在其他系统中有所不同):

In deps of internet I found something like this, and it looks like working - but still not perfect solution because it returns much more info than I need and also the number near which is proper value is not constant (it differs in other system):

ls -l/dev/pts |fgrep用户名