glances kernel too old?

Booting, installing, newbie
Post Reply
Message
Author
neilhoughton
Posts: 2
Joined: Sun 27 Dec 2015, 20:19

glances kernel too old?

#1 Post by neilhoughton »

I have this issue with glances system info script;

Code: Select all

Traceback (most recent call last):
                                    File "/usr/bin/glances", line 9, in <module>
               load_entry_point('Glances==1.7.3', 'console_scripts', 'glances')()
              File "/usr/lib/python2.7/dist-packages/glances/glances.py", line 4678, in main
                           stats.update()
                                           File "/usr/lib/python2.7/dist-packages/glances/glances.py", line 1673, in update
                                                          self.__update__(input_stats)
                   File "/usr/lib/python2.7/dist-packages/glances/glances.py", line 1652, in __update__
                                      self.glancesgrabprocesses.update()
     File "/usr/lib/python2.7/dist-packages/glances/glances.py", line 1211, in update
                    procstat = self.__get_process_stats(proc)
                                                               File "/usr/lib/python2.7/dist-packages/glances/glances.py", line 1180, in __get_process_stats
                      proc_io = proc.get_io_counters()
                                                        File "/usr/lib/python2.7/dist-packages/psutil/__init__.py", line 467, in get_io_counters
          return self._platform_impl.get_process_io_counters()
                                                                File "/usr/lib/python2.7/dist-packages/psutil/_pslinux.py", line 574, in get_process_io_counters
                          "too old?)" % self.pid)
                                                 NotImplementedError: couldn't find /proc/1/io (kernel too old?)
                                           root# 
Tahrpup 32+64bit.

https://nicolargo.github.io/glances/

Any tips would be most welcome.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Welcome Neilhoughton. Why not install the one that's in Pups pkg manager?

Then again, word on the web suggests Tahr's kernel would need to be built with support for process i/o stats.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post by bigpup »

Some reason you do not like menu->System->Pup-sysinfo?

Thare is also menu->System->Htop
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply