HP Model 755/125cL System Configuration Repository User's Reference: HP-UX/HP - Page 62

Modify filter setting using filter file, scrfilter -S DiskDevice HP-UX Standard Groups

Page 62 highlights

SCR Reference (man Pages) scrfilter (1M) - Modify filter setting using filter file # scrviewer -f DiskDevice node1:Stable Filter "DiskDevice" applied. COMPONENT NAME VALUE GROUP NAME ATTRIBUTE NAME "HP-UX Standard Groups Definition" "Host Device" "scr dmi class" "HPUX_Host Device_" "scr dmi version" 001 "scr dmi key" "Host Device Index" [Host Device Index] [Device Type] [Device Description] [Device ID] [Device Status] [Device Errors] 4 6:DiskStorage "HP C3325A" "0 0 2 2 0 0 0 0 186 168" 2:Running 0 [Host Device Index] [Device Type] [Device Description] [Device ID] [Device Status] [Device Errors] : 12 6:DiskStorage "HP C2247" "0 0 2 2 0 0 0 0 190 67" 2:Running 0 Reset search condition. # scrfilter -S DiskDevice "HP-UX Standard Groups Definition" \\\ "Host Device" "Device Type" reset Modify filter setting using filter file Generate filter file SettingFile from filter myFilter. # scrfilter -o myFilter SettingFile Edit view flags of groups in filter file SettingFile using vi. The new setting for filter myFilter is prepared as follows: [Filter File Version]: 1 [Filter Name]: myFilter [Data Version]: 1 [Extension]: on : Component: "HP-UX Standard Groups Definition" on Group: ComponentID off : Group: "System Contact Information" off : 62 Reference

  • 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
  • 81
  • 82
  • 83
  • 84

62
Reference
SCR Reference (man Pages)
scrfilter (1M) - Modify filter setting using filter file
# scrviewer -f DiskDevice node1:Stable
Filter "DiskDevice" applied.
COMPONENT NAME
VALUE
GROUP NAME
ATTRIBUTE NAME
"HP-UX Standard Groups Definition"
"Host Device"
"scr dmi class"
"HPUX_Host Device_"
"scr dmi version"
001
"scr dmi key"
"Host Device Index"
[Host Device Index]
4
[Device Type]
6:DiskStorage
[Device Description]
"HP
C3325A"
[Device ID]
"0 0 2 2 0 0 0 0 186 168"
[Device Status]
2:Running
[Device Errors]
0
[Host Device Index]
12
[Device Type]
6:DiskStorage
[Device Description]
"HP
C2247"
[Device ID]
"0 0 2 2 0 0 0 0 190 67"
[Device Status]
2:Running
[Device Errors]
0
:
Reset search condition.
# scrfilter -S DiskDevice "HP-UX Standard Groups
Definition" \\\
"Host Device" "Device Type" reset
Modify filter setting using filter file
Generate filter file
SettingFile
from filter
myFilter
.
# scrfilter -o myFilter SettingFile
Edit view flags of groups in filter file
SettingFile
using
vi
. The new
setting for filter
myFilter
is prepared as follows:
[Filter File Version]:
1
[Filter Name]:
myFilter
[Data Version]: 1
[Extension]:
on
:
Component:
"HP-UX Standard Groups Definition"
on
Group:
ComponentID
off
:
Group:
"System Contact Information"
off
: