-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
help.cli.txt
1419 lines (1288 loc) · 54.4 KB
/
help.cli.txt
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
nb>help
COMMAND LINE INTERFACE (CLI)
incrs: Lists all available increments (sets of related commands)
<incr>: Enters an increment
<comm>: Executes a command in an increment already entered
<incr> <comm>: Executes a command in the specified increment
help <incr>: Lists the commands available in the specified increment
help <comm>: Provides help for a command in an increment already entered
help <incr> <comm>: Provides help for a command in the specified increment
Adding "full" at the end of a >help command displays any detailed help
file for the specified increment or command. >help full is equivalent to
>help <incr> full for the current increment. The system starts up in the
>nb increment, so >help nb lists the commands that are always available.
The following are used when displaying and entering a command's parameters:
(...) denote alternatives for a mandatory parameter
[...] denote an optional parameter
~ skips an optional parameter
= tags an optional parameter
& obtains a symbol's value
"..." delimits a string with embedded blanks (treated as one parameter)
/ precedes a comment (rest of input line is ignored)
\ overrides any special meaning for the next character
Optional parameters must be entered in the same order that they are displayed
by >help <comm>.
nb>incrs
nb : NodeBase Increment
nt : NodeBase Tools and Tests
ct : CodeTools Increment
nw : Network Increment
sb : SessionBase Increment
st : SessionBase Tools and Tests
pots : POTS Increment
sn : Service Node Increment
an : Access Node Increment
nb>help full
help : Provides help for an increment or command.
[<str>] : name of increment
[<str>] : name of command ('full' = all commands)
[full] : displays full documentation
quit : Exits the most recent (or all) increments.
[all] : exits all increments
incrs : Displays all available increments.
send : Sends CLI output to the console or a file.
( : where to send CLI output
cout : to the console
prev : to the previous location
<str> : to the file specified
[t|f] : append if file already exists? (default=f)
)
read : Reads commands from a file.
<str> : read input from <str>.txt
echo : Writes the rest of the input line to the console.
<str> : the string to be written to the console
cfgparms : Supports configuration parameters.
( : subcommand...
list : displays all configuration parameters
explain : explains a configuration parameter
<str> : name of configuration parameter
get : displays a configuration parameter's value
<str> : name of configuration parameter
set : sets a configuration parameter's value
<str> : name of configuration parameter
<str> : value of configuration parameter
)
logs : Interface to the log subsystem.
( : subcommand...
list : displays info for all logs or the logs in a specific group
[<str>] : log group name (default=all)
groups : displays all log groups
explain : displays documentation for a log
<str> : log group name
(100:999) : log number
suppress : suppresses all the logs in a group
<str> : log group name
( : setting...
on : on
off : off
)
throttle : throttles or suppresses a specific log
<str> : log group name
(100:999) : log number
(0:100) : report every Nth log (0=none, 1=all)
count : displays the number of logs reported so far
buffers : displays all log buffers
[b|v] : 'b'=brief 'v'=verbose (default='b')
write : writes a buffer's logs to its log file
(0:7) : log buffer index
(0:1000) : number of logs to send (0=all)
free : deletes a log buffer
(0:7) : log buffer index
)
alarms : Interface to the alarm subsystem.
( : subcommand...
list : counts or displays alarms
[0:65535] : index (location in registry)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
explain : displays documentation for an alarm
<str> : alarm name
clear : clears an alarm
<str> : alarm name
)
symbols : Supports symbols.
( : subcommand...
list : displays symbols
[<str>] : symbol's name (displays all if omitted)
set : sets a symbol's value
<str> : symbol's name
[<str>] : symbol's value (symbol deleted if omitted)
assign : sets a symbol's value to a configuration parameter's
<str> : symbol's name
<str> : name of configuration parameter
)
stats : Supports performance statistics.
( : subcommand...
groups : displays all statistics groups
show : displays statistics
[0:255] : group number (default=all)
[0:65535] : member number (group specific; default=all)
[b|v] : 'b'=brief 'v'=verbose (default='b')
[<str>] : filename for output (default=console)
rollover : starts a new interval
[t|f] : clear history prior to this interval? (default=f)
)
status : Displays system statistics.
sched : Provides scheduler information.
( : subcommand...
show : displays thread statistics
[<str>] : filename for output (default=console)
start : starts tracing context switches
stop : stops tracing context switches
kill : kills a thread
(0:99) : ThreadId
ticks : displays InitThread ticks
)
threads : Counts or displays threads.
[0:99] : ThreadId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
daemons : Displays daemons.
( : subcommand...
list : counts or displays daemons
[0:65535] : index (location in registry)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
set : disables (off) or enables (on) a daemon
(0:65535) : index (location in registry)
( : setting...
on : on
off : off
)
)
mutexes : Counts or displays mutexes.
[0:65535] : index (location in registry)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
buffers : Counts or displays message buffers.
[c|s|v] : 'c'=count 's'=summary 'v'=verbose (default='s')
deferred : Displays deferred work items.
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
modules : Counts or displays modules.
[0:255] : ModuleId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
heaps : Interface to heaps.
( : subcommand...
list : counts or displays heaps
[0:7] : memory type (see mem.* symbols; default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
setsize : sets the desired size
(1:7) : memory type (see mem.* symbols)
(1:1023) : size
[k|m|g] : 'k'=kB 'm'=MB 'g'=GB
validate : validates all heaps
trace : controls heap trace tool
(1:7) : memory type (see mem.* symbols)
( : tracing subcommand...
reset : clears the list of allocated blocks
start : starts tracing of allocated blocks
stop : stops tracing of allocated blocks
show : shows allocated blocks
)
)
pools : Counts or displays object pools.
[0:255] : ObjectPoolId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
audit : Controls the object pool audit.
( : subcommand...
interval : sets the audit's frequency
(0:60) : seconds between audits (0 = disabled)
force : forces the audit to run immediately
)
psignals : Counts or displays POSIX signals.
[0:127] : signal_t (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
singletons : Displays the singletons registry.
[b|v] : 'b'=brief 'v'=verbose (default='b')
tools : Counts or displays debugging tools.
[0:65535] : index (location in registry)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
set : Controls trace tool settings.
( : what to set...
tools : trace tools: see >tools command for abbrevations
<str> : tools to set: string of tool abbreviations
( : setting...
on : on
off : off
)
buffsize : capacity of trace buffer
(17:22) : buffer size (=2^N events)
wrap : whether trace buffer can wrap around
(t|f) : allow trace buffer to wrap around?
)
include : Specifies what should be captured by trace tools.
( : what to include...
all : all activity
( : setting...
on : on
off : off
)
faction : threads in a specific faction
(0:8) : faction
thread : a specific thread's activity
(0:99) : ThreadId
)
exclude : Specifies what should not be captured by trace tools.
( : what to exclude...
faction : threads in a specific faction
(0:8) : faction
thread : a specific thread's activity
(0:99) : ThreadId
)
query : Displays the status of trace tools.
( : what to query...
buffer : trace buffer
tools : trace tools
selections : all items included/excluded by trace tools
)
clear : Clears the trace buffer, tools, or selections.
( : what to clear...
buffer : trace buffer
tools : trace tools
selections : all items included/excluded by trace tools
faction : threads in a specific faction
(0:8) : faction
factions : all included/excluded factions
thread : a specific thread's activity
(0:99) : ThreadId
threads : all included/excluded threads
)
start : Starts tracing.
stop : Stops tracing.
save : Saves what was captured by trace tools.
( : what to save...
trace : events captured by tools that are currently ON
<str> : filename for output
[<str>] : options: t=suppress times; c=don't move ctors
)
if : Conditionally executes a CLI command.
<int> : symbol for an integer (e.g. &cli.result)
( : relational operator...
< : less than
<= : less than or equal to
== : equal to
!= : not equal to
> : greater than
>= : greater than or equal to
)
<int> : value for comparison
<str> : command to execute if condition is true
[else] : precedes command to execute if condition is false
[<str>] : command to execute if condition is false
delay : Pauses before executing the next command.
(0:180) : time (secs)
display : Displays an object derived from NodeBase::Base.
<hex> : pointer to an object derived from Base
[b|v] : 'b'=brief 'v'=verbose (default='b')
dump : Displays memory in hex.
<hex> : memory address
(1:1024) : number of bytes to display
restart : Shuts down the system.
( : type of shutdown...
warm : exits and recreates threads
cold : deletes sessions (plus warm actions)
reload : reloads data (plus cold and warm actions)
reboot : exits and restarts the entire system
exit : exits and does not restart the system
)
No additional help is available.
nb>nt
nt>help full
logs : Interface to the log subsystem.
( : subcommand...
list : displays info for all logs or the logs in a specific group
[<str>] : log group name (default=all)
groups : displays all log groups
explain : displays documentation for a log
<str> : log group name
(100:999) : log number
suppress : suppresses all the logs in a group
<str> : log group name
( : setting...
on : on
off : off
)
throttle : throttles or suppresses a specific log
<str> : log group name
(100:999) : log number
(0:100) : report every Nth log (0=none, 1=all)
count : displays the number of logs reported so far
buffers : displays all log buffers
[b|v] : 'b'=brief 'v'=verbose (default='b')
write : writes a buffer's logs to its log file
(0:7) : log buffer index
(0:1000) : number of logs to send (0=all)
free : deletes a log buffer
(0:7) : log buffer index
sort : sorts the logs in a log file
<str> : filename for input (in OutputPath directory)
<str> : filename for output
flood : enters a loop that generates SW900 logs
(1:250) : number of SW900 logs to generate
)
set : Controls trace tool settings.
( : what to set...
tools : trace tools: see >tools command for abbrevations
<str> : tools to set: string of tool abbreviations
( : setting...
on : on
off : off
)
buffsize : capacity of trace buffer
(17:22) : buffer size (=2^N events)
wrap : whether trace buffer can wrap around
(t|f) : allow trace buffer to wrap around?
scope : scope for function tracing
( : how to trace function invocations
full : full trace of invocations
counts : count invocations per function
)
)
save : Saves what was captured by trace tools.
( : what to save...
trace : events captured by tools that are currently ON
<str> : filename for output
[<str>] : options: t=suppress times; c=don't move ctors
funcs : function call statistics
<str> : filename for output
[ : how to sort (default=calls)
calls : by number of invocations
times : by net time in function
names : by function name
]
)
tests : Configures or executes tests.
( : subcommand...
prolog : file to read before executing a test
[<str>] : filename (none if omitted)
epilog : file to read after a test passes
[<str>] : filename (none if omitted)
recover : file to read after a test fails
[<str>] : filename (epilog if omitted)
begin : executes a test (and concludes any previous one)
<str> : test filename
end : concludes a test
failed : records that the current test failed
<int> : failure code
[<str>] : explanation for failure
query : displays pass/fail counts and (if verbose) all tests
[b|v] : 'b'=brief 'v'=verbose (default='b')
retest : displays tests that have not passed
erase : removes a test from the database
<str> : test name
reset : resets the testing environment
)
swflags : Supports flags used to control branching
( : subcommand...
set : modifies a flag's setting
(0:31) : flag identifier
( : setting...
on : on
off : off
)
clear : clears all flags
query : displays flags that are on
)
corrupt : Corrupts a data structure for testing purposes.
( : what to corrupt...
pool : object pool
(0:255) : ObjectPoolId
(0:1024) : offset into free queue (0 = head)
)
lbc : Tests a LeakyBucketCounter function.
(
init : Initializes the counter.
(1:3600) : capacity of bucket (limit)
(1:3600) : time to empty bucket (seconds)
event : Updates the counter when an event occurs.
)
q1 : Tests a Q1Way function.
(
enq : Adds an item to the end of the queue.
(0:8) : item number (0 = nullptr)
henq : Adds an item to the front of the queue.
(0:8) : item number (0 = nullptr)
insert : Inserts item#2 after item#1.
(0:8) : item number (0 = nullptr)
(0:8) : item number (0 = nullptr)
deq : Removes the item at the front of the queue.
exq : Removes an item from anywhere in the queue.
(0:8) : item number (0 = nullptr)
first : Returns the first item in the queue.
next : Returns the next item in the queue.
(0:8) : item number (0 = nullptr)
count : Returns the number of items in the queue.
empty : Returns true if the queue is empty.
purge : Deletes all the items in the queue.
)
q2 : Tests a Q2Way function.
(
enq : Adds an item to the end of the queue.
(0:8) : item number (0 = nullptr)
henq : Adds an item to the front of the queue.
(0:8) : item number (0 = nullptr)
deq : Removes the item at the front of the queue.
exq : Removes an item from anywhere in the queue.
(0:8) : item number (0 = nullptr)
first : Returns the first item in the queue.
next : Returns the next item in the queue.
(0:8) : item number (0 = nullptr)
last : Returns the last item in the queue.
prev : Returns the previous item.
(0:8) : item number (0 = nullptr)
count : Returns the number of items in the queue.
empty : Returns true if the queue is empty.
purge : Deletes all the items in the queue.
)
reg : Tests a Registry function.
(
init : Initializes the registry.
(0:8) : maximum number of items in registry
insert : Adds an item to the registry.
(0:8) : item number (0 = nullptr)
[0:31] : registrant id
remove : Removes an item from the registry.
(0:8) : item number (0 = nullptr)
[0:31] : registrant id
at : Accesses an item in the registry.
(0:31) : registrant id
first : Returns the first item in the registry.
[0:31] : registrant id
next : Returns the next item in the registry.
(0:8) : item number (0 = nullptr)
last : Returns the last item in the registry.
prev : Returns the previous item in the registry.
(0:8) : item number (0 = nullptr)
count : Returns the number of items in the registry.
)
heap : Tests a heap function.
(
create : Creates the heap.
(t|d|s|p) : memory type (temporary|dynamic|slab|protected)
(0:2048) : heap's size or slab's size
destroy : Destroys the heap.
alloc : Allocates a block.
(0:1024) : block's size
blocksize : Returns a block's size.
<hex> : block's address
display : Displays the heap.
free : Frees a block.
<hex> : block's address
validate : Validates the heap (if 0) or a block.
<hex> : block's address
size : Returns the heap's size.
avail : Returns the number of bytes available.
overhead : Returns the number of bytes of overhead.
)
recover : Tests thread recovery.
( : what to recover from...
abort : call abort()
create : create the recovery thread
ctortrap : trap in recovery thread constructor
dtortrap : trap in recovery thread destructor
delete : delete the recovery thread
(t|f) : perform by 'this' (t) or by another thread (f)
badptr : dereference an invalid pointer
divide : divide by zero
exception : raise a software exception
loop : enter an infinite loop
mutexblock : block while holding a mutex
mutexexit : exit while holding a mutex
mutextrap : trap while holding a mutex
stack : cause a stack overflow
raise : raise a signal
<str> : signal's name ('SIG...')
return : return from the recovery thread
terminate : call terminate()
trap : cause a trap
(t|f) : perform by 'this' (t) or by another thread (f)
<str> : signal's name ('SIG...')
write : write to read-only data
)
No additional help is available.
nt>quit
nb>nw
nw>help full
ip : Executes IP functions.
( : function to execute...
localname : displays this element's host name
usesipv6 : displays whether this element uses IPv6
localaddr : displays this element's IP address
[t|f] : retest local address? (default=f)
localaddrs : displays this element's IP addresses
nametoaddr : maps a host name/service name to an IP address
<str> : name of host
[<str>] : name of IP service (or port number)
addrtoname : maps an IP address to a host name/service name
<str> : IP address and optional port: n.n.n.n[:p]
)
ipports : Displays IP ports.
[0:65535] : ipport_t
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
ipservices : Displays IP services.
[0:65535] : index (location in registry)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
status : Displays system statistics.
include : Specifies what should be captured by trace tools.
( : what to include...
all : all activity
( : setting...
on : on
off : off
)
faction : threads in a specific faction
(0:8) : faction
thread : a specific thread's activity
(0:99) : ThreadId
peer : messages to/from from a specific peer address/port
<str> : IP address and optional port: n.n.n.n[:p]
port : messages received by a specific IP port
(0:65535) : ipport_t
)
exclude : Specifies what should not be captured by trace tools.
( : what to exclude...
faction : threads in a specific faction
(0:8) : faction
thread : a specific thread's activity
(0:99) : ThreadId
peer : messages to/from from a specific peer address/port
<str> : IP address and optional port: n.n.n.n[:p]
port : messages received by a specific IP port
(0:65535) : ipport_t
)
query : Displays the status of trace tools.
( : what to query...
buffer : trace buffer
tools : trace tools
selections : all items included/excluded by trace tools
)
clear : Clears the trace buffer, tools, or selections.
( : what to clear...
buffer : trace buffer
tools : trace tools
selections : all items included/excluded by trace tools
faction : threads in a specific faction
(0:8) : faction
factions : all included/excluded factions
thread : a specific thread's activity
(0:99) : ThreadId
threads : all included/excluded threads
peer : messages to/from from a specific peer address/port
<str> : IP address and optional port: n.n.n.n[:p]
peers : all included/excluded peers
port : messages received by a specific IP port
(0:65535) : ipport_t
ports : all included/excluded IP ports
)
No additional help is available.
nw>quit
nb>sb
sb>help full
factories : Displays factories.
[0:255] : FactoryId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
services : Displays services.
[0:511] : ServiceId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
states : Displays a service's states.
(0:511) : ServiceId
[0:63] : State::Id (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
events : Displays a service's event names.
(0:511) : ServiceId
[0:127] : EventId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
handlers : Displays a service's event handlers.
(0:511) : ServiceId
[0:255] : EventHandlerId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
triggers : Displays a service's triggers.
(0:511) : ServiceId
[0:63] : TriggerId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
initiators : Displays the initiators registered with a trigger.
(0:511) : ServiceId
(0:63) : TriggerId
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
protocols : Displays protocols.
[0:255] : ProtocolId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
signals : Displays a protocol's signals.
(0:255) : ProtocolId
[0:63] : SignalId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
parameters : Displays a protocol's parameters.
(0:255) : ProtocolId
[0:63] : ParameterId (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
contexts : Counts or displays contexts.
[c|s|v] : 'c'=count 's'=summary 'v'=verbose (default='s')
ssms : Counts or displays service state machines.
[0:511] : ServiceId (default=all)
[0:63] : State::Id (default=all)
[c|s|v] : 'c'=count 's'=summary 'v'=verbose (default='s')
msgports : Counts or displays message ports.
[0:255] : FactoryId (default=all)
[c|s|v] : 'c'=count 's'=summary 'v'=verbose (default='s')
psms : Counts or displays protocol state machines.
[0:255] : FactoryId (default=all)
[0:63] : State::Id (default=all)
[c|s|v] : 'c'=count 's'=summary 'v'=verbose (default='s')
messages : Counts or displays messages.
[0:255] : ProtocolId (default=all)
[0:63] : SignalId (default=all)
[c|s|v] : 'c'=count 's'=summary 'v'=verbose (default='s')
timers : Counts or displays timers.
[0:255] : FactoryId (default=all)
[c|s|v] : 'c'=count 's'=summary 'v'=verbose (default='s')
invpools : Displays invoker pools.
[0:8] : faction (default=all)
[c|s|b|v] : 'c'=count 's'=summary 'b'=brief 'v'=verbose (default='s')
status : Displays system statistics.
include : Specifies what should be captured by trace tools.
( : what to include...
all : all activity
( : setting...
on : on
off : off
)
faction : threads in a specific faction
(0:8) : faction
thread : a specific thread's activity
(0:99) : ThreadId
peer : messages to/from from a specific peer address/port
<str> : IP address and optional port: n.n.n.n[:p]
port : messages received by a specific IP port
(0:65535) : ipport_t
factory : messages received by a specific factory
(0:255) : FactoryId
protocol : messages in a specific protocol
(0:255) : ProtocolId
signal : messages with a specific protocol and signal
(0:255) : ProtocolId
(0:63) : SignalId
service : contexts in which a specific service is running
(0:511) : ServiceId
timers : timer registry work
)
exclude : Specifies what should not be captured by trace tools.
( : what to exclude...
faction : threads in a specific faction
(0:8) : faction
thread : a specific thread's activity
(0:99) : ThreadId
peer : messages to/from from a specific peer address/port
<str> : IP address and optional port: n.n.n.n[:p]
port : messages received by a specific IP port
(0:65535) : ipport_t
factory : messages received by a specific factory
(0:255) : FactoryId
protocol : messages in a specific protocol
(0:255) : ProtocolId
signal : messages with a specific protocol and signal
(0:255) : ProtocolId
(0:63) : SignalId
service : contexts in which a specific service is running
(0:511) : ServiceId
timers : timer registry work
)
query : Displays the status of trace tools.
( : what to query...
buffer : trace buffer
tools : trace tools
selections : all items included/excluded by trace tools
)
clear : Clears the trace buffer, tools, or selections.
( : what to clear...
buffer : trace buffer
tools : trace tools
selections : all items included/excluded by trace tools
faction : threads in a specific faction
(0:8) : faction
factions : all included/excluded factions
thread : a specific thread's activity
(0:99) : ThreadId
threads : all included/excluded threads
peer : messages to/from from a specific peer address/port
<str> : IP address and optional port: n.n.n.n[:p]
peers : all included/excluded peers
port : messages received by a specific IP port
(0:65535) : ipport_t
ports : all included/excluded IP ports
factory : messages received by a specific factory
(0:255) : FactoryId
factories : all included/excluded factories
protocol : messages in a specific protocol
(0:255) : ProtocolId
protocols : all included/excluded protocols
signal : messages with a specific protocol and signal
(0:255) : ProtocolId
(0:63) : SignalId
signals : all included/excluded signals
service : contexts in which a specific service is running
(0:511) : ServiceId
services : all included/excluded services
timers : timer registry work
)
kill : Kills a PSM's context.
<hex> : pointer to a PSM
No additional help is available.
sb>quit
nb>st
st>help full
save : Saves what was captured by trace tools.
( : what to save...
trace : events captured by tools that are currently ON
<str> : filename for output
[<str>] : options: t=suppress times; c=don't move ctors
funcs : function call statistics
<str> : filename for output
[ : how to sort (default=calls)
calls : by number of invocations
times : by net time in function
names : by function name
]
msc : message sequence chart
<str> : filename for output
[t|f] : include internal data structures? (default=f)
)
tests : Configures or executes tests.
( : subcommand...
prolog : file to read before executing a test
[<str>] : filename (none if omitted)
epilog : file to read after a test passes
[<str>] : filename (none if omitted)
recover : file to read after a test fails
[<str>] : filename (epilog if omitted)
begin : executes a test (and concludes any previous one)
<str> : test filename
end : concludes a test
failed : records that the current test failed
<int> : failure code
[<str>] : explanation for failure
query : displays pass/fail counts and (if verbose) all tests
[b|v] : 'b'=brief 'v'=verbose (default='b')
retest : displays tests that have not passed
erase : removes a test from the database
<str> : test name
reset : resets the testing environment
verify : enables or disables the >verify command
( : setting...
on : on
off : off
)
)
corrupt : Corrupts a data structure for testing purposes.
( : what to corrupt...
pool : object pool
(0:255) : ObjectPoolId
(0:1024) : offset into free queue (0 = head)
context : first in-use context
)
inject : Sends a message FROM a factory or one of its PSMs.
( : factory abbreviation...
CO : CIP Originator (network side)
(1:16) : TestSessionId
( : signal abbreviation...
I : IAM
r : RouteResult
(0:255) : selector (FactoryId)
<int> : identifier (factory-specific)
<str> : calling DN (digit string)
<str> : called DN (digit string)
oclg=[<str>] : original calling DN (digit string)
ocld=[<str>] : original called DN (digit string)
m=[0:100000] : media.rxFrom: Switch::PortId
C : CPG
(0:5) : progress: Progress::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
R : REL
(0:20) : cause: Cause::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
)
CT : CIP Terminator (network side)
(1:16) : TestSessionId
( : signal abbreviation...
C : CPG
(0:5) : progress: Progress::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
A : ANM
m=[0:100000] : media.rxFrom: Switch::PortId
R : REL
(0:20) : cause: Cause::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
)
PX : Proxy Call (user side)
(1:16) : TestSessionId
( : signal abbreviation...
I : IAM
r : RouteResult
(0:255) : selector (FactoryId)
<int> : identifier (factory-specific)
<str> : calling DN (digit string)
<str> : called DN (digit string)
oclg=[<str>] : original calling DN (digit string)
ocld=[<str>] : original called DN (digit string)
m=[0:100000] : media.rxFrom: Switch::PortId
C : CPG
(0:5) : progress: Progress::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
A : ANM
m=[0:100000] : media.rxFrom: Switch::PortId
R : REL
(0:20) : cause: Cause::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
)
PS : POTS Shelf
( : signal abbreviation...
B : offhook ('begin')
(0:100000) : header.port: Switch::PortId
m=[0:100000] : media.rxFrom: Switch::PortId
D : digits
(0:100000) : header.port: Switch::PortId
<str> : digit string: (0..9|*|#)*
A : alerting
(0:100000) : header.port: Switch::PortId
L : flash ('link')
(0:100000) : header.port: Switch::PortId
E : onhook ('end')
(0:100000) : header.port: Switch::PortId
)
PC : POTS Call (user side)
(1:16) : TestSessionId
( : signal abbreviation...
F : facility
(0:100000) : header.port: Switch::PortId
f : facility info
(0:511) : sid: ServiceId
(0:255) : ind: Facility::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
c=[0:20] : cause: Cause::Ind
p=[0:5] : progress: Progress::Ind
S : supervise
(0:100000) : header.port: Switch::PortId
r=[t|f] : ring on?
s=[<str>] : scan: (x|d|f|df)
m=[0:100000] : media.rxFrom: Switch::PortId
c=[0:20] : cause: Cause::Ind
[f] : facility info
(0:511) : sid: ServiceId
(0:255) : ind: Facility::Ind
L : lockout
(0:100000) : header.port: Switch::PortId
R : release
(0:100000) : header.port: Switch::PortId
(0:20) : cause: Cause::Ind
)
PM : POTS Multiplexer (network side)
(1:16) : TestSessionId
( : signal abbreviation...
B : offhook ('begin')
(0:100000) : header.port: Switch::PortId
m=[0:100000] : media.rxFrom: Switch::PortId
D : digits
(0:100000) : header.port: Switch::PortId
<str> : digit string: (0..9|*|#)*
A : alerting
(0:100000) : header.port: Switch::PortId
L : flash ('link')
(0:100000) : header.port: Switch::PortId
E : onhook ('end')
(0:100000) : header.port: Switch::PortId
F : facility
(0:100000) : header.port: Switch::PortId
f : facility info
(0:511) : sid: ServiceId
(0:255) : ind: Facility::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
c=[0:20] : cause: Cause::Ind
p=[0:5] : progress: Progress::Ind
P : progress
(0:100000) : header.port: Switch::PortId
(0:5) : progress: Progress::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
R : release
(0:100000) : header.port: Switch::PortId
(0:20) : cause: Cause::Ind
)
)
verify : Checks a message RECEIVED by a factory or one of its PSMs.
( : factory abbreviation...
CO : CIP Originator (network side)
[0:16] : TestSessionId (default=0: next message)
( : signal abbreviation...
C : CPG
(0:5) : progress: Progress::Ind
m=[0:100000] : media.rxFrom: Switch::PortId
A : ANM