[opensuse] Is it possible to change the order (sort) in gkrellm?
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In gkrellm, I have: sdb sda sdd sde sdf sdc sdg ... Aparently they are in creation order. I would like to have them in a more senssible order (sda, sdb, sdc...). Someone knows a trick? - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAldmpMoACgkQtTMYHG2NR9Ud8gCfWtHzC9w08yRfbOSb+QqnzCQM IaAAn2xHp379+kf1yIbzlHMtlPS+dDwS =5xU0 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/a6ffef5dde34bf02c36fb9fb70f3e397.jpg?s=120&d=mm&r=g)
On Sun, 19 Jun 2016 15:57, Carlos E. R.
In gkrellm, I have:
sdb sda sdd sde sdf sdc sdg
...
Aparently they are in creation order. I would like to have them in a more senssible order (sda, sdb, sdc...). Someone knows a trick?
Try the (quick and dirty) "touch trick" e.g. for sda [code] touch -c --date=00:01:00 /dev/sda for i in {1..9}; do test -e /dev/sda$i || break touch -c --date=00:01:0$i /dev/sda$i done [/code] repeat for sdb ... sdg with: sdb = 00:02:00 ... sdg = 00:07:00 restart gkrellm, if it works, build yourself a start script for gkrellm that contains the code from above as needed and starts gkrellm afterwards wich a 'exec' As said, quick and dirty. - Yamaban -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 2016-06-19 17:38, Yamaban wrote:
On Sun, 19 Jun 2016 15:57, Carlos E. R.
wrote:
repeat for sdb ... sdg with: sdb = 00:02:00 ... sdg = 00:07:00
Touching the devices? Mmm... cer@Telcontar:~> ls -ltr /dev/sd? brw-rw---- 1 root disk 8, 80 May 19 05:48 /dev/sdf brw-rw---- 1 root disk 8, 16 May 19 05:48 /dev/sdb brw-rw---- 1 root disk 8, 0 May 19 05:48 /dev/sda brw-rw---- 1 root disk 8, 64 May 19 05:48 /dev/sde brw-rw---- 1 root disk 8, 48 May 19 05:48 /dev/sdd brw-rw---- 1 root disk 8, 32 May 19 05:48 /dev/sdc cer@Telcontar:~> The date order is not the same as in gkrellm. But I'll try. [...] cer@Telcontar:~> ls -ltr /dev/sd? brw-rw---- 1 root disk 8, 0 Jun 19 19:55 /dev/sda brw-rw---- 1 root disk 8, 16 Jun 19 19:55 /dev/sdb brw-rw---- 1 root disk 8, 32 Jun 19 19:55 /dev/sdc brw-rw---- 1 root disk 8, 48 Jun 19 19:55 /dev/sdd brw-rw---- 1 root disk 8, 64 Jun 19 19:55 /dev/sde brw-rw---- 1 root disk 8, 80 Jun 19 19:55 /dev/sdf cer@Telcontar:~> Restarting gkrellm... No, gkrellm does not alter its ordering after restarting it. It must be something internal to it. Maybe edit "~/.gkrellm2/user-config, which apparently I already tried in the past. [...] No. I sorted the entries in that file, and it did not work. It must be data in some entry, not the order of the entries. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
![](https://seccdn.libravatar.org/avatar/150bb68600b6f4527c14c79e81e90f53.jpg?s=120&d=mm&r=g)
On Sun, 2016-06-19 at 20:09 +0200, Carlos E. R. wrote:
On 2016-06-19 17:38, Yamaban wrote:
On Sun, 19 Jun 2016 15:57, Carlos E. R.
wrote: [snip] No. I sorted the entries in that file, and it did not work. It must be data in some entry, not the order of the entries.
UTSL :) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 2016-06-19 20:34, Dave Howorth wrote:
On Sun, 2016-06-19 at 20:09 +0200, Carlos E. R. wrote:
On 2016-06-19 17:38, Yamaban wrote:
On Sun, 19 Jun 2016 15:57, Carlos E. R.
wrote: [snip] No. I sorted the entries in that file, and it did not work. It must be data in some entry, not the order of the entries. UTSL :)
cer@Telcontar:~> wtf UTSL UTSL: use the source, Luke cer@Telcontar:~> Doubtful that I can do that. Anyway... the source site is "http://freecode.com/projects/gkrellm", according to "rpm -qi gkrellm". The links to the tars give "Not found". According to a comment, they are here: "http://www.srcbox.net/projects/gkrellm/downloads", but what I see are Windows sources, six years old. At http://download.opensuse.org/distribution/13.1/repo/ there are no sources. Maybe http://download.opensuse.org/source/distribution/13.1/repo/oss/suse/src/. I see gkrellm-2.3.5-19.1.3.src.rpm. 47852 lines of C source code. How do I found there how to sort the fields? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
![](https://seccdn.libravatar.org/avatar/638c5f9b9a41e53d4663197a58261c49.jpg?s=120&d=mm&r=g)
Hello, On Sun, 19 Jun 2016, Carlos E. R. wrote:
In gkrellm, I have:
sdb sda sdd [..] Aparently they are in creation order. I would like to have them in a more senssible order (sda, sdb, sdc...). Someone knows a trick?
What? Temperatures, Disk (I/O) or Filesystem? For Temps and Filesystem, just drag-n-drop the entries in the gkrellm config-dialog. -dnh -- No application is complete until you can read email on it. Go into GR*B. root(hd?,?) cat /spool/mail/lusername. See? GR*B is complete. -- Omri Schwarz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 2016-06-22 03:16, David Haller wrote:
Hello,
On Sun, 19 Jun 2016, Carlos E. R. wrote:
In gkrellm, I have:
sdb sda sdd [..] Aparently they are in creation order. I would like to have them in a more senssible order (sda, sdb, sdc...). Someone knows a trick?
What? Temperatures, Disk (I/O) or Filesystem? For Temps and Filesystem, just drag-n-drop the entries in the gkrellm config-dialog.
Disks. As you can see in my list above, I mention sda, sdb, sdc... -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (4)
-
Carlos E. R.
-
Dave Howorth
-
David Haller
-
Yamaban