File: XSysinfo.ad

package info (click to toggle)
xsysinfo 1.7-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 180 kB
  • ctags: 118
  • sloc: ansic: 787; sh: 129; makefile: 44
file content (80 lines) | stat: -rw-r--r-- 2,460 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
!*
!* XSysinfo: application for displaying some kernel parameters
!*
!* $Id: XSysinfo.ad,v 1.6 1993/02/22 20:03:02 gabor Exp $
!* 
!* Written by Gabor Herr <herr@iti.informatik.th-darmstadt.de>.
!*
!* Copyright (c) 1992, 1993 by Gabor Herr, all rights reserved.
!* 
!* Permission to use, copy, modify, distribute, and sell this software
!* and its documentation for any purpose is hereby granted without fee,
!* provided that the above copyright notice appear in all copies and
!* that both that copyright notice and this permission notice appear in
!* supporting documentation, and that may name is not used in
!* advertising or publicity pertaining to distribution of the software
!* without specific, written prior permission. I make no representations
!* about the suitability of this software for any purpose. It is
!* provided "as is" without express or implied warranty.
!*
!

! application resources to control whether or not a value should be displayed.
! These are all booleans: True = enable, False = disable.
*.showTitle:		True
*.showLoadAvg:		True
*.showLoad:		True
*.showMem:		True
*.showSwap:		True
*.smpKernel:		True

! define some nice fonts
*.font:			-adobe-courier-*-*-*-*-*-*-*-*-m-*-*-*
*.title.font:		-adobe-courier-*-*-*-*-*-140-*-*-m-*-*-*

! update interval for all values in milli-seconds (ThMO)
*bar.update:		200

! set foreground colors for load average
*loadavg*bar.foreground:	grey70
*loadavg*bar.foreground1:	grey60
*loadavg*bar.foreground2:	grey50
*loadavg*bar.foreground3:	grey40
*loadavg*bar.foreground4:	grey30
*loadavg*bar.foreground5:	grey20
*loadavg*bar.foreground6:	grey10
*loadavg*bar.foreground7:	black
*loadavg*bar.segmentGap:	1

! set idle gauge color
*load*bar.foreground:	grey70
*load*bar.foreground1:	grey50
*load*bar.foreground2:	grey30

! set mem info gauge colors
*mem*bar.foreground:	grey70
*mem*bar.foreground1:	grey50

! set swap gauge color
*swap*bar.foreground:	grey70
*swap*bar.foreground1:	grey50
*swap*bar.foreground2:	grey30

! set background
*.background:		grey80
*.BarGauge.background:	white

! this the amount of space in pixels between two adjacent segments in a bar
*bar.segmentGap:	1

! show only the border of the gauge windows
*.BarGauge.borderWidth:	1
*.borderWidth:		0

! text resources, you should not have to change these
*.title.label:		Linux Kernel Info
*.title.width:		205
*.loadavg.name.label:	LoadAvg:
*.load.name.label:	Load:   
*.mem.name.label:	Memory: 
*.swap.name.label:	Swap: