-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc_history2021July05
2003 lines (2002 loc) · 219 KB
/
bashrc_history2021July05
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
sed 's/.*vis-network.*/ "vis-network":"^8.3.3"/' package.json
sed 's/.*vis-network.*/ "vis-network":"^8.3.3"/' package.json
sed 's/.*vis-network.*/ "vis-network":"^8.3.3"/' package.json
docker stop gremlin-visualizer:latest
docker stop 4e861a5b5d73
docker ps -a
vim tmp.js
nautilus .
docker stop gremlin-visualizer
docker stop 51e7482ae442
v
a
e
wget --no-check-certificate https://github.com/prabushitha/gremlin-visualizer/archive/master.zip && \
wget --no-check-certificate https://github.com/prabushitha/gremlin-visualizer/archive/master.zip
zip master.zip
unzip master.zip
M=hd uR khd
M=hd uR dhd
M=hd uR dhp
M=hd uR rhp
kp cs-prod1 -l app=hollow-producer
kp cs-prod2 -l app=hollow-producer
ping cs-neptune-prod-cluster-v5-1-blue-us-west-2a.cmp95eyb2qml.us-west-2.neptune.amazonaws.com:
ping cs-neptune-prod-cluster-v5-1-blue-us-west-2a.cmp95eyb2qml.us-west-2.neptune.amazonaws.com
kd cs-prod1 -l app=edge
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods -o=jsonpath='{range .items[*]}{.metadata.name}{"|"}{.metadata.creationTimestamp}{"|"}{.status.containerStatuses[*].restartCount}{"|"}{.status.containerStatuses[*].lastState.terminated.exitCode}{"|"}{.status.containerStatuses[*].lastState.terminated.reason}{"|"}{.status.containerStatuses[*].lastState.terminated.startedAt}{"|"}{.status.containerStatuses[*].lastState.terminated.finishedAt}{"|"}{.metadata.labels.routeoffer}{"|"}{.metadata.labels.version}{"|"}{.spec.containers[].resources.limits.cpu}{"|"}{.spec.containers[].resources.limits.memory}{"\n"}{end}' --context cs-prod{} -l 'app=edge' | column -t -s"|"| sort -k3,3n
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods -o=jsonpath='{range .items[*]}{.metadata.name}{"|"}{.metadata.creationTimestamp}{"|"}{.status.containerStatuses[*].restartCount}{"|"}{.status.containerStatuses[*].lastState.terminated.exitCode}{"|"}{.status.containerStatuses[*].lastState.terminated.reason}{"|"}{.status.containerStatuses[*].lastState.terminated.startedAt}{"|"}{.status.containerStatuses[*].lastState.terminated.finishedAt}{"|"}{.metadata.labels.routeoffer}{"|"}{.metadata.labels.version}{"|"}{.spec.containers[].resources.limits.cpu}{"|"}{.spec.containers[].resources.limits.memory}{"\n"}{end}' --context cs-prod{} -l 'app=edge' | column -t -s"|"| sort -k3,3n
kubectl get hpa "$1" -o=custom-columns='NAME:metadata.name' --no-headers --context "$CXT"
kubectl get po -o=custom-columns='NAME:metadata.name' --no-headers --context cs-prod1
kubectl get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod1
kubectl get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod1 -l app=edge | uniq -c
kubectl get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod2 -l app=edge | uniq -c
kubectl get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod2 -l app=hollow-producer | uniq -c
kubectl get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod2 -l app=hollow-producer | uniq -c | nl
kubectl get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod2 -l app=edge | uniq -c | nl
kubectl get configmap edge-2-2-8 -o json --context cs-prod1 | jq -r '. as {data: $V, metadata: {annotations: $K}} | reduce ($K | keys_unsorted)[] as $k ({}; . + {($K[$k]): $V[$k]})' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod1 | uniq -c
mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod1 | uniq -c
mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod1 | uniq -c | osrt
mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod1 | uniq -c | sort
mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod1 | uniq -c | sort -n
mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod1 -l app=edge | uniq -c | sort -n
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort - |"transactionCount": 0,
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort - | awk '{printf " %02i %s\n",NR,$0}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort - | | awk '{printf "%-65s%25s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | awk '{printf "%-65s%25s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | awk '{printf "%65s%25s\n", $1, $2}'
myS -t --tail 3 -l 'version=372.0.3' --context cs-prod2
myS -t --tail 30 -l 'version=372.0.3' --context cs-prod2
myS -t --tail 50 -l 'version=372.0.3' --context cs-prod2
tail -f /tmp/1 2>/dev/null
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | awk '{printf "%5s-%25s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | awk '{printf "%5s%-25s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | awk '{printf "%5s%25-s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | awk '{printf "%5s%25s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | nawk '{printf "%5s%25s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | nawk '{sprintf "%05s%25s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | nawk '{printf "%05s%25s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | gawk '{printf "%05s%25s\n", $1, $2}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | gawk '{printf "%-05s%25s\n", $1, $2}'
kp cs-prod3 -l app=edge -L routeoffer
kp cs-prod4 -l app=edge -L routeoffer
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | gawk '{printf "%-05s%-25s\n", $1, $2}'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '. as {data: $V, metadata: {annotations: $K}} | reduce ($K | keys_unsorted)[] as $k ({}; . + {($K[$k]): $V[$k]})' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
L
npm run build
npm start
e
e
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '.data'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '.data, metadata.annotations'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '.data, .metadata.annotations'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r .[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '. as {data: $V, metadata: {annotations: $K}} | reduce ($K | keys_unsorted)[] as $k ({}; . + {($K[$k]): $V[$k]})' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
M=hp uR
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kp cs-prod2 -l app=hollow-producer
kubectl describe pod hollow-producer-2-0-3-79f7f9f55-7jsfh --context cs-prod2
exit
att
L
L
code config/prod
code config/prod.properties
bin/kafka-console-consumer.sh --topic cs-view2-dbs-blue --bootstrap-server localhost:9092 --partition 0 --consumer.config config/prod.properties | tee /tmp/k.log
bin/kafka-console-consumer.sh --topic cs-view2-dbs-blue --bootstrap-server localhost:9092 --partition 0 --consumer.config config/prod.properties | tee /tmp/k1.log
e
kubectl describe pod hollow-producer-2-0-3-79f7f9f55-7jsfh --context cs-prod2
exit
att
L
ki cs-prod2
curl "https://cs-catalogservice-edge-592-2-3.awsw2.cld.dtvops.net/api/nodes/d1fb3670-94b0-480f-b961-a6698854d271" | jq .
curl "https://cs-catalogservice-edge-592-2-3.awsw2.cld.dtvops.net/api/nodes/8eb9a78b-f707-5ee8-9701-5c5d9fb1f275" | jq .
curl "https://cs-catalogservice-edge-592-2-3.awsw2.cld.dtvops.net/api/nodes/8eb9a78b-f707-5ee8-9701-5c5d9fb1f275?ignore_publication_window=true" | jq .
curl -X POST "http://localhost:8490/view/compileToStream?subGraphRootId=a67188bf-eb12-5175-a8ee-79930f70fbd2"
curl "https://cs-catalogservice-edge-592-2-3.awsw2.cld.dtvops.net/api/nodes/4cd06edc-d308-5aff-928a-95dddc7eb0a8?ignore_publication_window=true" | jq .
ki cs-staging
curl -s "https://cs-catalogservice-edge-580-2-3.staging.aeg.cloud/api/nodes/ac0cbd1c-06ff-3151-8eac-2cdb0badcd98"
curl -s "https://cs-catalogservice-edge-580-2-3.staging.aeg.cloud/api/nodes/d3abc4e0-625b-346c-93fa-ab4ad25583ef"
curl -s "https://cs-catalogservice-edge-580-2-3.staging.aeg.cloud/api/nodes/d3abc4e0-625b-346c-93fa-ab4ad25583ef" | grep lin
curl -s "https://cs-catalogservice-edge-580-2-3.staging.aeg.cloud/api/nodes/d3abc4e0-625b-346c-93fa-ab4ad25583ef" | grep jq .id
curl -s "https://cs-catalogservice-edge-580-2-3.staging.aeg.cloud/api/nodes/d3abc4e0-625b-346c-93fa-ab4ad25583ef" | jq .id
curl -s "https://cs-catalogservice-edge-580-2-3.staging.aeg.cloud/api/nodes/d3abc4e0-625b-346c-93fa-ab4ad25583ef" | jq .[].id
curl -s "https://cs-catalogservice-edge-580-2-3.staging.aeg.cloud/api/nodes/d3abc4e0-625b-346c-93fa-ab4ad25583ef" | jq -r .[].id
curl -s "https://cs-catalogservice-edge-580-2-3.staging.aeg.cloud/api/nodes/ac0cbd1c-06ff-3151-8eac-2cdb0badcd98" | jq -r .[].id
kp cs-prod1 -l app=edge
ki cs-prod1 -l app=edge
ki cs-prod2 -l app=edge
ki cs-prod2 -l app=edge | gawk '{printf "%-25s\n", $2}'
ki cs-prod2 -l app=edge | gawk '{printf "https://%s\n", $2}'
ki cs-prod2 -l app=edge | gawk '{printf "https://%s/explorer\n", $2}'
ki cs-prod2 -l app=edge | gawk '{printf "https://%s/api/nodes/bd0ea604-9387-456f-a7ba-9c7ad4ada31d\n", $2}'
e
cd /tmp
l
grep '.*linearPPV.*' linearPPV
grep '.*linearPPV>' linearPPV
grep '.*linearPPV>t' linearPPV
grep '.*linearPPV>f' linearPPV
curl -s "https://cs-catalogservice-edge-580-2-3.staging.aeg.cloud/api/nodes/ac0cbd1c-06ff-3151-8eac-2cdb0badcd98" | jq -r .[]
e
bin/kafka-server-start.sh config/server.properties
e
vim ~/bin/configMap
chmod a+x ~/bin/configMap
configMap edge-2-2-10 cs-prod1
cd ~/dev/app/kafka_2.11-1.1.1
bin/zookeeper-server-start.sh config/zookeeper.properties
e
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '. as {data: $V, metadata: {annotations: $K}} | reduce ($K | keys_unsorted)[] as $k ({}; . + {($K[$k]): $V[$k]})' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
M=hp uR
kp cs-prod2 -l app=hollow-producer
kubectl describe pod hollow-producer-2-0-3-79f7f9f55-7jsfh --context cs-prod2
exit
att
L
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kp cs-prod2 -l app=edge
myS -t --tail 50 -l 'name=edge-372-3-0' --context cs-prod2
kubectl get configmap edge-372-3-0 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
#
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods -o=jsonpath='{range .items[*]}{.metadata.name}{"|"}{.metadata.creationTimestamp}{"|"}{.status.containerStatuses[*].restartCount}{"|"}{.status.containerStatuses[*].lastState.terminated.exitCode}{"|"}{.status.containerStatuses[*].lastState.terminated.reason}{"|"}{.status.containerStatuses[*].lastState.terminated.startedAt}{"|"}{.status.containerStatuses[*].lastState.terminated.finishedAt}{"|"}{.metadata.labels.routeoffer}{"|"}{.metadata.labels.version}{"|"}{.spec.containers[].resources.limits.cpu}{"|"}{.spec.containers[].resources.limits.memory}{"\n"}{end}' --context cs-prod{} -l 'app=edge' | column -t -s"|"| sort -k3,3n
kubectl get configmap view-3-7-0 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmap view-3-7-0 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
cd ~/dev/code/gremlin-visualizer/
npm start
e
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | gawk '{printf "%-05s%25s\n", $1, $2}'
kp cs-prod3 -l app=edge -L routeoffer
kp cs-prod4 -l app=edge -L routeoffer
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l app=edge| uniq -c | sort -n | gawk '{printf "%-05s%-25s\n", $1, $2}'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '. as {data: $V, metadata: {annotations: $K}} | reduce ($K | keys_unsorted)[] as $k ({}; . + {($K[$k]): $V[$k]})' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
npm run build
npm start
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '.data'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '.data, metadata.annotations'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '.data, .metadata.annotations'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r .[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '. as {data: $V, metadata: {annotations: $K}} | reduce ($K | keys_unsorted)[] as $k ({}; . + {($K[$k]): $V[$k]})' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
exit
att
tail -f /tmp/1 2>/dev/null
kubectl logs hollow-producer-2-0-3-79f7f9f55-7jsfh --context cs-prod2 --previous
kp cs-prod2 -l app=hollow-producer
kubectl describe pod hollow-producer-2-0-3-79f7f9f55-7jsfh --context cs-prod2
CNT=0 patchHIB hollow-producer-1-2-8
seq 1 3 | xargs -I{} -n 1 -P 4 kubectl patch deployment --context cs-prod{} hollow-producer-1-2-8 --patch="$(cat /home/svarkey/tmp/hib.yml)"
kp cs-prod3 -l app=hollow-producer
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get po -o=custom-columns='NAME:metadata.labels.name' --no-headers --context cs-prod{} -l name=hollow-producer-1-2-8 | uniq -c | sort -n | gawk '{printf "%-05s%-25s\n", $1, $2}'
M=hp uR
M=hs uR
dYY 1624542949475
i
L
goL
v
/home/svarkey/.nvm/versions/node/v15.12.0/bin/node /home/svarkey/dev/code/Personal/JavaS/Dave.js
which node
ki cs-prod2 -l app=hollow-producer -L name -o wide
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )| keys_unsorted[] as $k | [$k, .[$k]] | join("|")'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )| keys[] as $k | [$k, .[$k]] | join("|")'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } ) | keys[] as $k | [$k, .[$k]] | join("|")'
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } ) | keys[] as $k | [$k, .[$k]] | join("|")' | column -t -s "|"
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } ) | keys[] as $k | [$k, .[$k]] | join("|")' | column -t -s "|" -o " "
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } ) | keys[] as $k | [$k, .[$k]] | join("|")' | column -t -s "|" -o " "
message=transactionId == 1624659512 RelationShipCount|1117367|NodeCount|0882633|Curr Offset|58556019910|Processed|0002000000|Used Memory|14464| Free Memory|10111| Total Memory|24576| Max Memory|24576| ViewQueue.viewMessageQueue.size()|08000|
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } ) | keys[] as $k | [$k, .[$k]] | join("|")' | column -t -s "|" -o "|"
myS -t --tail 3 -l 'version=1.2.9' --context cs-prod2 hollow-producer-1-2-9-67cdb8bc6b-292zf
myS -t --tail 3000 -l 'version=1.2.9' --context cs-prod2 hollow-producer-1-2-9-67cdb8bc6b-292zf -e ".*Index.*"
myS -t --tail 30 -l 'name=search-1-8-0' --context cs-prod2
myS -t --tail 3 -l 'name=search-1-8-0' --context cs-prod2 -n catalog-curation
myS -t --tail 30 -l 'name=search-1-8-0' --context cs-prod2 -n catalog-curation
e
npm start
e
configMap
configMap hollow-producer-372-0-3 cs-prod2
oP configMap
kubectl get configmap "edge-2-2-10" -o json --context "cs-prod4" | jq -r '[.data, .metadata.annotations]' | jq -r '.data as $dict | .metadata.annotations | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | column -t -s"|"
kubectl get configmap "edge-2-2-10" -o json --context "cs-prod4" | jq -r '.data as $dict | .metadata.annotations | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmap "edge-2-2-10" -o json --context "cs-prod4" | jq -r '.data as $dict | .metadata.annotations | with_entries( $dict[.key], (.value|tostring) } )'
kubectl get configmap "edge-2-2-10" -o json --context "cs-prod4" | jq -r '.data as $dict | .metadata.annotations | with_entries( select($dict[.key], (.value|tostring)) } )'
kubectl get configmap "edge-2-2-10" -o json --context "cs-prod4" | jq -r '.data as $dict | .metadata.annotations | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | column -t -s"|"
kubectl get configmap "edge-2-2-10" -o json --context "cs-prod4" | jq -r '.data as $dict | .metadata.annotations | with_entries( {value: $dict[.key], key: (.value|tostring) } )| keys[] as $k | "\($k)|\(.[$k])"'
kubectl get configmap "edge-2-2-10" -o json --context "cs-prod4" | jq -r '.data as $dict | .metadata.annotations | with_entries( {value: $dict[.key], key: (.value|tostring) } )| keys[] as $k | "\($k)|\(.[$k])"'
kubectl get configmap "edge-2-2-10" -o json --context "cs-prod4"| jq -r '.data as $dict | .metadata.annotations | with_entries( {value: $dict[.key], key: (.value|tostring) } )| keys[] as $k | "\($k)|\(.[$k])"'
kubectl get configmap "edge-2-3-0" -o json --context "cs-dev"| jq -r '.data as $dict | .metadata.annotations | with_entries( {value: $dict[.key], key: (.value|tostring) } )| keys[] as $k | "\($k)|\(.[$k])"'
i
kubectl get configmap "edge-2-3-0" -o json --context "cs-dev"| jq -r '.data as $dict | .metadata.annotations | with_entries( {value: $dict[.key], key: (.value|tostring) } )| keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
att
kubectl get configmap hollow-producer-372-0-3 -o json --context cs-prod2 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } ) | keys[] as $k | [$k, .[$k]] | join("|")' | column -t -s "|" -o "|"
ifconfig
att
ping router.asus.com
exec bash
myS -t --tail 3000 -l 'version=1.2.9' --context cs-prod2 hollow-producer-1-2-9-67cdb8bc6b-292zf -e ".*Index.*"
myS -t --tail 3000 -l 'version=2.3.0' --context cs-dev
cd /
kubectl get pods --context cs-prod2 -l name=edge-2-2-8 -o jsonpath='{range .items[*]}{range .spec.containers[*].env[*]}{.name}{"|"}{.valueFrom}{"\n"}{end}{end}' | column -t -s"|"
kubectl get pods --context cs-prod2 -l name=edge-2-2-10 -o jsonpath='{range .items[*]}{range .spec.containers[*].env[*]}{.name}{"|"}{.valueFrom}{"\n"}{end}{end}' | column -t -s"|"
kubectl get configmaps
kubectl get configmaps global
kubectl get configmaps hollow-producer-dfwplatform-app-default-configs
kubectl get configmaps hollow-producer-dfwplatform-app-default-configs -o json
kubectl get configmaps global -o json
configMap global cs-dev
configMap global cs-dev | sed '/^[[:space:]]*$/d'
configMap global cs-dev | sed -r '/^\s*$/d'
configMap global cs-dev | awk 'NF'
configMap global cs-dev | grep -Ev "^$"
configMap hollow-producer-dfwplatform-app-default-configs cs-dev
configMap edge-dfwplatform-app-default-configs cs-dev
ex
e
code /home/svarkey/.bash_history
configMap hollow-producer-372-0-3 cs-prod2
L
e
kubectl get configmaps global
kubectl get configmaps hollow-producer-dfwplatform-app-default-configs
kubectl get configmaps hollow-producer-dfwplatform-app-default-configs -o json
kubectl get configmaps global -o json
configMap global cs-dev
configMap global cs-dev | sed '/^[[:space:]]*$/d'
configMap global cs-dev | sed -r '/^\s*$/d'
configMap global cs-dev | awk 'NF'
configMap global cs-dev | grep -Ev "^$"
configMap hollow-producer-dfwplatform-app-default-configs cs-dev
ex
code /home/svarkey/.bash_history
configMap hollow-producer-372-0-3 cs-prod2
cd '/home/svarkey/dev/code/IDS_New/CS/hollow-consumer
cd '/home/svarkey/dev/code/IDS_New/CS/hollow-consumer'
rm -rvf /home/svarkey/tmp/blo/catalogservice-prod-view-custom-index-list1-snapshot-4f01739c-20210626181415105
a
att
configMap edge-dfwplatform-app-default-configs cs-dev
configMap edge-dfwplatform-app-default-configs cs-prod1
configMap hollow-producer-dfwplatform-app-default-configs cs-prod1
configMap hollow-producer-dfwplatform-app-default-configs cs-staging
myS -t --tail 30 -l 'name=search-1-8-0' --context cs-prod2 -n catalog-curation
sudo apt-get update
sudo apt-get upgrade
kubectl get pods --context cs-prod2 -l name=edge-2-2-8 -o jsonpath='{range .items[*]}{range .spec.containers[*].env[*]}{.name}{"|"}{.valueFrom}{"\n"}{end}{end}' | column -t -s"|"
kubectl get pods --context cs-prod2
kubectl get pods --context cs-prod2 | | awk '$4>0'
kubectl get pods --context cs-prod2 | awk '$4>0'
mKube get pods --context cs-prod2 | awk '$4>0'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod2 | awk '$4>0'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod2 --no-headers | awk '$4>0'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod2 --no-headers | awk '$4>0' | sort -k4,4n
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers | awk '$4>0' | sort -k4,4n
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers | awk '$4>0' | sort -k4,4n Z column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers | awk '$4>0' | sort -k4,4n | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L name | awk '$4>0' | sort -k4,4n | column -t
L
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L app | awk '$4>0' | sort -k4,4n | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L app | awk '$4>0' | sort -k1 | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L app | awk '$4>0' | sort -k6 | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L app | awk '$4>0' | sort -k6 -k4,4n| column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L app | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t
cd /home/svarkey/dev/code/Personal/JavaS
PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g')
PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' )
cat package.json
echo $PACKAGE_VERSION
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L app | awk '$4>0' | sort -k6 -k4,4n -k1,1 | column -t
e
e
cd /tmp
2015-03-13, 19:25, 22.602, 0.62, 0.25
$ echo "$(curl -skLO https://git.io/speedtest.sh && chmod +x speedtest.sh && ./speedtest.sh)"
2015-03-13, 19:25, 22.602, 0.62, 0.25
$ echo "$(curl -skLO https://git.io/speedtest.sh && chmod +x speedtest.sh && ./speedtest.sh)"
jq 'map({(.id): .value}) | add' all_channel_ids.json
jq 'map({(.id): .statys}) | add' all_channel_ids.json
jq 'map({(.id): .status}) | add' all_channel_ids.json
jq -r 'map({(.id): .status}) | add' all_channel_ids.json
jq -r 'map({(.id)|.status}) | add' all_channel_ids.json
jq -r 'map({(.id)\|.status}) | add' all_channel_ids.json
jq -r 'map({(.id):.status}) | add' all_channel_ids.json
jq -r 'map({(.id):.status}) | add | keys[] as $k | "\($k)|\(.[$k])"' all_channel_ids.json
jq -r 'map({(.id):.status}) | add | keys[] as $k | "\($k)|\(.[$k])"' all_channel_ids.json | column -t -s"|"
cd /
configMap hollow-producer-dfwplatform-app-default-configs cs-prod1
configMap search-1-8-0 cs-prod1 -n catalog-curation
kubectl get configmaps search-1-8-0 --context cs-prod1 -n catalog-curation
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation
kubectl get configmaps search-dfwplatform-app-default-configs -o json --context cs-prod1 -n catalog-curation
kubectl get configmaps search-dfwplatform-app-default-configs -o json --context cs-prod1 -n catalog-curation
oP configMap
kubectl get configmaps search-dfwplatform-app-default-configs -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-6-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-6-5 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-7-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
e
cd /tmp
wget http://dl1.technet24.ir/Downloads/Software/Cisco/AnyConnect/anyconnect-linux64-4.10.01075-predeploy-k9.tar.gz
L
e
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
myS -t --tail 900000 -l 'version in (1.2.9)' --context cs-prod2 -i ".*Current number of populated ordinals.*"
pP
fg
myS -t --tail 1 -l 'version in (2.2.10)' --context cs-prod2
myS -t --tail 3000 -l 'version=1.2.9' --context cs-prod2 hollow-producer-1-2-9-67cdb8bc6b-292zf -e ".*Index.*"
e
att
e
kubectl get configmaps search-1-8-0 --context cs-prod1 -n catalog-curation
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation
kubectl get configmaps search-dfwplatform-app-default-configs -o json --context cs-prod1 -n catalog-curation
kubectl get configmaps search-dfwplatform-app-default-configs -o json --context cs-prod1 -n catalog-curation
oP configMap
kubectl get configmaps search-dfwplatform-app-default-configs -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-6-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-6-5 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-7-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
e
cd /tmp
wget http://dl1.technet24.ir/Downloads/Software/Cisco/AnyConnect/anyconnect-linux64-4.10.01075-predeploy-k9.tar.gz
L
e
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
myS -t --tail 900000 -l 'version in (1.2.9)' --context cs-prod2 -i ".*Current number of populated ordinals.*"
pP
fg
myS -t --tail 1 -l 'version in (2.2.10)' --context cs-prod2
myS -t --tail 3000 -l 'version=1.2.9' --context cs-prod2 hollow-producer-1-2-9-67cdb8bc6b-292zf -e ".*Index.*"
e
att
e
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L app | awk '$4>0' | sort -k6 -k4,4n -k1,1 | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L app,routeoffer | awk '$4>0' | sort -k6 -k4,4n -k1,1 | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -L app,routeoffer | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers -show-labels
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t -s,
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk -F, '{$0=$6}1'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk -F, '{$0=$7}1'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | | awk '{split($0,a); print a[3]; print a[2]; print a[1]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($0,a); print a[3]; print a[2]; print a[1]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a); print a[3]; print a[2]; print a[1]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,,); print a[3]; print a[2]; print a[1]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1],print $1}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1];print $1}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1];print $1;print a[4]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1];print $1;print a[4];print a[5]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1];print $1;print a[4];print a[5];print a[6]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1];print $1;print a[4];print a[5];print a[7]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1];print $1;print a[4];print a[5];print a[6];print [7]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1];print $1;print a[4];print a[5];print a[6];print a[7]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | awk '{split($6,a,","); print a[3]; print a[2]; print a[1];print $1;print a[4];print a[5];print a[6];print a[7];print a[8]}'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 | |awk '{ split($9,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],$10); }'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($9,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],$10); }'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],$10); }'
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],$10); }' | column
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],$10); }' | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],a[3]); }' | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],a[3],a[4]); }' | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],a[3],a[4]); }' | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],a[3],a[4],a[5]); }' | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],a[3],a[4],a[6]); }' | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5, a[1], a[2],a[3],a[4],a[6]); }' | column -t
cd '/home/svarkey/dev/code/IDS_New/CS/hollow-consumer'
cd '/home/svarkey/dev/code/IDS_New/CS/hollow-producer/
cd '/home/svarkey/dev/code/IDS_New/CS/hollow-producer/'
jJ
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t
seq 1 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
fc -N 3
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} --no-headers --show-labels | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ split($6,a , ","); printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5,a[1],a[2],a[3],a[4],a[6]); }' | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5); }' | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5); }' | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ printf("%s\t%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5); }' | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ printf("%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5); }' | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ printf("%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5); }' | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ printf("%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5); }' | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ printf("%s\t%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5); }' | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ printf("%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5); }' | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 |awk '{ printf("%s\t%s\t%s\t%s\t%s\n",$1,$2,$3,$4,$5i,$6,$7); }' | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name --no-headwrs | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name --no-headwrs | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
tail -f /tmp/1 2>/dev/null
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name --no-headwrs | awk '$4>0'
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name --no-headwrs
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name
echo 3 |xargs -I{} -n 1 -P 4 mKube --no-headers get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
exit
/home/svarkey/bin/configMap
/home/svarkey/bin/configMap hollow-producer-372-0-3 cs-prod1
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name --no-headwrs | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name --no-headwrs | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
tail -f /tmp/1 2>/dev/null
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name --no-headwrs | awk '$4>0'
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name --no-headwrs
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name
echo 3 |xargs -I{} -n 1 -P 4 mKube --no-headers get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
exit
cd /opt
cd cisco/
cd anyconnect/bin/
ll
./vpn_uninstall.sh
sudo ./vpn_uninstall.sh
cd /tmp
ls an*
tar -xvf anyconnect-linux64-4.10.01075-predeploy-k9.tar.gz
cd anyconnect-linux64-4.10.01075/
cd vpn/
ls
sudo ./vpn_install.sh
att
echo 4 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 kubectl get pods --context cs-prod{} -L app,version,name --no-headers| awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 kubectl get pods --context cs-prod{} -L app,version,name --no-headers| awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 kubectl get pods --context cs-prod{} -L app,version,name --no-headers| awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 4 |xargs -I{} -n 1 -P 4 kubectl get pods --context cs-prod{} -L app,version,name --no-headers| awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 3 |xargs -I{} -n 1 -P 4 kubectl get pods --context cs-prod{} -L app,version,name --no-headers| awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl | CC
echo 2 |xargs -I{} -n 1 -P 4 kubectl get pods --context cs-prod{} -L app,version,name --no-headers| awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl | CC
sudo apt-get update
sudo apt-get upgrade
l
cd '/home/svarkey/dev/code/IDS_New/CS/hollow-producer/'
jJ
sudo vim /etc/hosts
ping router.asus.com
git status
L
e
att
e
a
git status
L
att
juu
Juu
locale | grep LANG=
ls -l /usr/share/i18n/locales/
cd /usr/share/i18n/locales/
grep "first_weekday 1
sudo locale-gen
sed 's/first_weekday [[:digit:]]/first_weekday 1/' en_GB
sed 's/first_weekday [[:digit:]]/first_weekday 2/' en_GB
sed 's/first_weekday [[:digit:]]/first_weekday 7/' en_GB
sudo vim en_GB
sudo sed 's/first_weekday [[:digit:]]/first_weekday 2/' en_GB
sudo sed 's/first_weekday [[:digit:]]/first_weekday 1/' en_GB
grep "first_weekday .*" en_GB
grep --color=none "first_weekday .*" en_GB
sudo sed 's/first_weekday [[:digit:]]/first_weekday 1/' $PWD/en_GB
echo $PWD
sudo sed 's/first_weekday [[:digit:]]/first_weekday 1/' /usr/share/i18n/locales/en_GB
grep --color=none "first_weekday .*" /usr/share/i18n/locales/en_GB
vim ~/bin/startDay
sudo locale-gen
e
L
sudo sed 's/first_weekday [[:digit:]]/first_weekday 1/' /usr/share/i18n/locales/en_GB
grep --color=none "first_weekday .*" /usr/share/i18n/locales/en_GB
vim ~/bin/startDay
sudo locale-gen
L
curl -vvv "http://localhost:8490/view/compileToStream?subGraphRootId=6e55bc17-8cdb-5d91-a30c-beead4fbeb96"
curl -X POST "http://localhost:8490/view/compileToStream?subGraphRootId=6e55bc17-8cdb-5d91-a30c-beead4fbeb96"
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "5"}'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "1"}'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "1"}' | jq .
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "1"}' | jq .
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq .
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq .|.id
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq .id
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq .[].id
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq .[](.id,.status)
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq '.[]|(.id|.status)'
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq '.[]|(.id,.status)'
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq '.[]|([.id,.status])'
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq -r '.[]|([.id,.status])'
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq -r '.[]|([.id,.status]|join("|") )'
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq -r '.[]|([.id,.status]|join("|"))'
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|"
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "20"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|"
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "20"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|" | nl
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "10"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|" | nl
echo "" && curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "10"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|" | nl
echo "" && curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "10"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|"
echo "" && curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "30"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|"
kp cs-prod1 -l app=edge
kp cs-prod1 -l app=edge -L name
configMap edge-592-2-3 cs-staging
echo "" && curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType","customAttributes.listingSource"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "30"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|"
kubectl get configmaps --context cs-staging
echo "" && curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType","customAttributes.listingSource"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "200"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|"
echo "" && curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType","customAttributes.listingSource"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2000"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|"
echo "" && curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType","customAttributes.listingSource"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "2000"}' | jq -r '.[]|([.id,.status]|join("|"))' | column -t -s"|" | nl
myS -t --tail 3 -l 'version=2.3.0' --context cs-dev
configMap edge-592-2-3 cs-prod1
configMap edge-580-2-3 cs-staging
tail -f /tmp/1 2>/dev/null
cd /tmp
gC $(BB https://egbitbucket.dtvops.net/projects/CS/repos/catalogservice-gapscan)
gC $(BB https://egbitbucket.dtvops.net/projects/CS/repos/catalogservice-gapscan/source)
gC $(BB https://egbitbucket.dtvops.net/projects/CS/repos/catalogservice-gapscan/browse)
gC $(BB https://egbitbucket.dtvops.net/projects/CS/repos/catalogservice-view/browse)
l
meld catalogservice-gapscan/src/main/gateway catalogservice-view/src/main/gateway
e
cd ~/dev/code/gremlin-visualizer/
npm start
e
bin/kafka-console-consumer.sh --topic cs-view2-dbs-blue --bootstrap-server localhost:9092 --partition 0 --consumer.config config/prod.properties | tee /tmp/k1.log
exit
bin/kafka-server-start.sh config/server.properties
exit
sudo locale-gen
L
/home/svarkey/bin/configMap hollow-producer-1-2-4 cs-prod1
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key: (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], (key| ascii_upcase ): (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], (key ): (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key : (.value|tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps search-1-8-0 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key : (.value| ascii_upcase |tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps hollow-producer-1-2-4 -o json --context cs-prod1 | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key : (.value| ascii_upcase |tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
kubectl get configmaps hollow-producer-1-2-4 -o json --context cs-prod1 -n catalog-curation | jq -r '[.data, .metadata.annotations]' | jq -r '.[0] as $dict | .[1] | with_entries( {value: $dict[.key], key : (.value| ascii_upcase |tostring) } )' | jq -r '. | keys[] as $k | "\($k)|\(.[$k])"' | column -t -s"|"
cd ~/bin
l
chmod a+x startDay
./startDay
oP startDay
oP configMap
configMap search-1-8-0 cs-prod1 -n catalog-curation
configMap hollow-producer-dfwplatform-app-default-configs cs-prod1
goL
configMap edge-dfwplatform-app-default-configs cs-prod1
curl --location --request GET 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/info'
curl -vvv 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/info'
curl -vvv 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/env'
curl -vvv 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes/hello'
curl -vvv 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes/hello?Caller-Name=Sanchu'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"]}'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "500"}'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "5"}'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "5"}' | jq .
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "5"}' | jq .
cd ~/dev/app/kafka_2.11-1.1.1
bin/zookeeper-server-start.sh config/zookeeper.properties
e
att
L
e
oP startDay
oP configMap
configMap search-1-8-0 cs-prod1 -n catalog-curation
configMap hollow-producer-dfwplatform-app-default-configs cs-prod1
goL
configMap edge-dfwplatform-app-default-configs cs-prod1
curl --location --request GET 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/info'
curl -vvv 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/info'
curl -vvv 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/env'
curl -vvv 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes/hello'
curl -vvv 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes/hello?Caller-Name=Sanchu'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"]}'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "500"}'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "5"}'
curl --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "5"}' | jq .
curl -s --location --request POST 'https://api-dev.aeg.cloud/cs/catalogservice/edge/v2/api/nodes' --header 'Caller-Name: BPS-UI-Package-Policies-Detail' --header 'Content-Type: application/json' --data-raw '{"filter": "subType==Channel","fields" : ["id", "subType"],"max_child_recursion_depth":1,"child.filter": "subType==ChannelConfig","sort_by": ["customAttributes.guideCCID"],"offset" : 0,"limit" : "5"}' | jq .
cd ~/dev/app/kafka_2.11-1.1.1
bin/zookeeper-server-start.sh config/zookeeper.properties
att
L
kp cs-dev -L name
curl -s "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1"
curl -vvv "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1"
pwd
meld catalogservice-view/pom.xml catalogservice-gapscan/pom.xml
curl "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1" | jq .
curl -s "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1" | jq .
gedit k1.log
wget https://raw.githubusercontent.com/LinuxSDA/HashBang/master/Hashbang
cat Hashbang >> $HOME/.vimrc
vim demo
if a:portable
vim if a:portable
vim $HOME/.vimrc
vim demo.sh
rename .sh '' demo.sh
rename ".sh" '' demo.sh
rename ".sh" '' "demo.sh"
rename ".sh" "" "demo.sh"
rename "sh" "" "demo.sh"
ll
rename 's/\.sh//g' demo.sh
locate "*.vim"
ls -l ~/.vim/plugin
ls -l ~/.vim
cd ~/.vim/autoload/
cp /tmp/Rename2.vim .
cd /tmp
vim demo
rename 's/\.sh//g' /tmp/demoS
rename 's/\.sh//g' /tmp/demo
ls -l /tmp/demo
rename 's/\.sh//g' /tmp/Rename2.vim
rename 's/\.vim//g' /tmp/Rename2.vim
rename 's/\.*//g' /tmp/k1.log
rename 's/\.(.*)//g' /tmp/linearPPV.xlsx
l
e
L
e
oP startDay
grep --color=none "first_weekday .*" "$LOCALE_FILE"
grep --color=none "first_weekday .*" /usr/share/i18n/locales/en_GB
egrep -oP "(?<=Request Body=)(.*)" /usr/share/i18n/locales/en_GB
egrep -oP "(?<=first_weekday )(.*)" /usr/share/i18n/locales/en_GB
grep -oP "(?<=first_weekday )(.*)" /usr/share/i18n/locales/en_GB
grep --color=none -oP "(?<=first_weekday )(.*)" /usr/share/i18n/locales/en_GB
startDay
;
bash -x startDay
bash startDay
att
exit
att
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
e
L
e
egrep -oP "(?<=first_weekday )(.*)" /usr/share/i18n/locales/en_GB
grep -oP "(?<=first_weekday )(.*)" /usr/share/i18n/locales/en_GB
grep --color=none -oP "(?<=first_weekday )(.*)" /usr/share/i18n/locales/en_GB
startDay
;
bash -x startDay
bash startDay
att
exit
att
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | | column -t | nl
echo 1 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
echo 2 |xargs -I{} -n 1 -P 4 mKube get pods --context cs-prod{} -L app,version,name | awk '$4>0' | sort -k6 -k4,4n -k1 | column -t | nl
cd /tmp
rm -rvf demo
rename 's/\.(.*)//g' catalogservice-dev-int-view-snapshot.index
rename s/\.(.*)//g demo.sh
rename "s/\.(.*)//g" demo.sh
rename 's/\.(.*)//g' /tmp/demo.sh
vim demo.sh
rename -f 's/\.(.*)//g' /tmp/demo.sh
l
curl --location --request POST 'https://api.cld.dtvops.net/catalog/curation/search/v1/service/cs/search' --header 'Content-Type: application/json' --data-raw '{
"query": "* AND customAttributes.legacyShowType:\"Movie\" AND customAttributes.providerNames:(\"Starz\") AND NOT customAttributes.genres:(\"Adults only\" or \"Erotic\") AND ((subType.keyword:Abstraction AND customAttributes.programType.keyword:(Movie OR Show OR Sport OR Episode)) OR (subType.keyword:CollectionAbstraction AND customAttributes.collectionType.keyword:SuperSeries))",
"itemIndex": 0,
"itemCount": 20,
"sortField": "customAttributes.popularityRank3d",
"sortOrder": "ASC"
}'
L
curl --location --request POST 'https://api.cld.dtvops.net/catalog/curation/search/v1/service/cs/search' --header 'Content-Type: application/json' --data-raw '{
"query": "* AND customAttributes.legacyShowType:\"Movie\" AND customAttributes.providerNames:(\"Starz\") AND NOT customAttributes.genres:(\"Adults only\" or \"Erotic\") AND ((subType.keyword:Abstraction AND customAttributes.programType.keyword:(Movie OR Show OR Sport OR Episode)) OR (subType.keyword:CollectionAbstraction AND customAttributes.collectionType.keyword:SuperSeries))",
"itemIndex": 0,
"itemCount": 20,
"sortField": "customAttributes.popularityRank3d",
"sortOrder": "ASC"
}'
e
code /home/svarkey/.bash_aliases
e
"query": "* AND customAttributes.legacyShowType:\"Movie\" AND customAttributes.providerNames:(\"Starz\") AND NOT customAttributes.genres:(\"Adults only\" or \"Erotic\") AND ((subType.keyword:Abstraction AND customAttributes.programType.keyword:(Movie OR Show OR Sport OR Episode)) OR (subType.keyword:CollectionAbstraction AND customAttributes.collectionType.keyword:SuperSeries))",
"itemIndex": 0,
"itemCount": 20,
"sortField": "customAttributes.popularityRank3d",
"sortOrder": "ASC"
}'
e
code /home/svarkey/.bash_aliases
e
cd /tmp
ls
rename -f 's/\.(.*)//g' 'UC Timetable-Day 1-Online.docx'
vim dM.js
rename -f 's/\.(.*)//g' /tmp/dM
rename -f dM dM.sh
rename -f 's//\.sh/g' /tmp/dM
rename -f 's/dM/\.sh/g' /tmp/dM
rename -f 's/\.(.*)//g' /tmp/dM.js
rename 's/(.*)/$1.sh/' dM
l
rename -f 's/(.*)/$1.sh/' dM
kp cs-dev -L name
kp cs-dev -L name -l name=hollow-producer
curl -s "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1" | jq .
curl -v "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1" | jq .
curl -v "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1/health" | jq .
exec bash
cd ../../../..
cd ../..
echo $PWD | pB
rename -f 's/\.(.*)//g' 'UC Timetable-Day 1-Online.docx'
vim dM.js
rename -f 's/\.(.*)//g' /tmp/dM
rename -f dM dM.sh
rename -f 's//\.sh/g' /tmp/dM
rename -f 's/dM/\.sh/g' /tmp/dM
rename -f 's/\.(.*)//g' /tmp/dM.js
rename 's/(.*)/$1.sh/' dM
l
rename -f 's/(.*)/$1.sh/' dM
kp cs-dev -L name
kp cs-dev -L name -l name=hollow-producer
curl -s "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1" | jq .
curl -v "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1" | jq .
curl -v "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1/health" | jq .
curl "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1/health" | jq .
cd /tmp
gC $(BB https://egbitbucket.dtvops.net/projects/CS/repos/catalogservice-view/browse)
gC $(BB https://egbitbucket.dtvops.net/projects/CS/repos/catalogservice-gapscan/browse)
meld catalogservice-view/pom.xml catalogservice-gapscan/pom.xml
goL
meld catalogservice-gapscan/cicd catalogservice-view/cicd
cd catalogservice-gapscan
git status
cd ..
meld catalogservice-gapscan/src/main/gateway catalogservice-view/src/main/gateway
meld catalogservice-gapscan/src/main/gateway /home/svarkey/dev/code/IDS_New/CS/catalogservice-view/src/main/gateway
cd catalogservice-gapscan/src/main/gateway
ll
tree
vim CommonProxy/apiproxy/policies/
vim CommonProxy/apiproxy/proxies/as_auth_template_faultRules.flowfrag
sed -e 's/\r//g' CommonProxy/apiproxy/proxies/as_auth_template_faultRules.flowfrag
kp cs-dev -l app=gapscan
kp cs-dev -l app=gapscan --show-labels
curl "https://api-dev.aeg.cloud/CS/catalogservice/gapscan/v1/info" | jq .
curl "https://api-dev.aeg.cloud/CS/catalogservice/gapscan/v1/health" | jq .
curl -h "x-aeg-route-offer: master" "https://api-dev.aeg.cloud/CS/catalogservice/gapscan/v1/health" | jq .
curl -H "x-aeg-route-offer: master" "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v2/health" | jq .
curl -H "x-aeg-route-offer: master" "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v3/health" | jq .
curl -H "x-aeg-route-offer: master" "https://api-dev.aeg.cloud/CS/catalogservice/gapscan/v1/health" | jq .
curl -H "x-aeg-route-offer: master" "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/master/health" | jq .
curl -H "x-aeg-route-offer: master" "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/v1/health" | jq .
curl -H "x-aeg-route-offer: master" "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/health" | jq .
curl -H "x-aeg-route-offer: master" "https://api-dev.aeg.cloud/cs/catalogservice/gapscan/gapscan" | jq .
curl -H "x-aeg-route-offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/gapscan" | jq .
curl -H "x-aeg-route-offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/gapscan"
curl -H "x-aeg-route-offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/v1/health"
curl -vvv -H "x-aeg-route-offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/v1/health"
curl -vvv -H "x-aeg-route-offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/v0/health"
curl -vvv -H "x-aeg-route-offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/v0/info"
curl -vvv -H "x-aeg-route-offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/v1/info"
curl -vvv -H "X-Aeg-Route-Offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/v1/info"
curl -vvv -H "X-Aeg-Route-Offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/master/info"
curl -vvv -H "X-Aeg-Route-Offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/master/sas"
curl -vvv -H "X-Aeg-Route-Offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/v1/gaps/v_2_GREEN_20210629101229"
curl -vvv -H "X-Aeg-Route-Offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/v0/gaps/v_2_GREEN_20210629101229"
curl -vvv -H "X-Aeg-Route-Offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/gaps/v_2_GREEN_20210629101229"
curl -vvv -H "X-Aeg-Route-Offer: master" "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/gaps/v_2_GREEN_20210629101229" | jq .
curl -vv "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/gaps/v_2_GREEN_20210629101229?X-Aeg-Route-Offer=master" | jq .
curl -s "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/gaps/v_2_GREEN_20210629101229?X-Aeg-Route-Offer=master" | jq .
curl "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/gaps/v_2_GREEN_20210629101229?X-Aeg-Route-Offer=master" | jq .
curl -s "https://api-dev-int.aeg.cloud/cs/catalogservice/gapscan/gaps/v_2_GREEN_20210629101229?X-Aeg-Route-Offer=master" | jq .
exec bash
exec bash
/home/svarkey/dev/code/IDS_New/CS/hollow-consumer/src/main/java/com/att/eg/metadata/hollow/consumer/gitignore/release.sh
bash /home/svarkey/dev/code/IDS_New/CS/hollow-consumer/src/main/java/com/att/eg/metadata/hollow/consumer/gitignore/release.sh
uR
uR dhd
bash /tmp/hollow-producer/release.sh
myS -t --tail 1 -l 'app=hollow-producer' --context cs-dev
kp cs-dev -L name -l name=hollow-producer
kubectl get pods --context cs-dev -L name -l name=hollow-producer
kubectl get pods --context cs-dev
kubectl get pods --context cs-dev -l app=hollow-producer
e
att
L
dos2unix
dos2unix
kubectl get pods --context cs-dev -l app=hollow-producer
/bin/bash -x /home/svarkey/bin/truncateAws.sh
myS -t --tail 1 -l 'app=hollow-producer' --context cs-dev
uR dhd
dYY 1624976669667
e
L
e
/home/svarkey/dev/code/IDS_New/CS/hollow-producer/Jenkinsfile
groovy /home/svarkey/dev/code/IDS_New/CS/hollow-producer/Jenkinsfile
i
cd '/home/svarkey/dev/code/IDS_New/CS/hollow-producer/'
gB
e
myS -t --tail 1 -l 'app=hollow-producer' --context cs-dev
uR dhd
dYY 1624976669667
e
e
/home/svarkey/dev/code/IDS_New/CS/hollow-producer/Jenkinsfile
groovy /home/svarkey/dev/code/IDS_New/CS/hollow-producer/Jenkinsfile
i
cd '/home/svarkey/dev/code/IDS_New/CS/hollow-producer/'
gB
e
tail -f /tmp/1 2>/dev/null
kd cs-prod2 -L name
kd cs-prod2 -L name --sort-by='{.firstTimestamp}'
kd cs-prod2 -L name --sort-by=.metadata.creationTimestamp
configMap vieworchestrator-372-6-2 cs-prod2
L
configMap view-373-6-2 cs-prod2
echo "{030_040={}, 040_050={}, 050_060={}}" | wc -m
att
kd cs-prod2 -l app=hollow-producer
kd cs-prod2 -l app=hollow-producer | nl
mKube get deployments --context cs-prod2 -l app=hollow-producer | nl
mKube get deployments --context cs-prod2 -l app=hollow-producer |sort -k3,3n
mKube get deployments --context cs-prod2 -l app=hollow-producer --no-headers | sort -k3,3n | nl
mKube get deployments --context cs-prod1 -l app=hollow-producer --no-headers | sort -k3,3n | nl
mKube get deployments --context cs-prod3 -l app=hollow-producer --no-headers | sort -k3,3n | nl
mKube get deployments --context cs-prod2 -l app=hollow-producer --no-headers | sort -k3,3n
mKube get deployments --context cs-prod2 -l app=hollow-producer --no-headers | awk '$3 ==0 '
mKube get deployments --context cs-prod2 -l app=hollow-producer --no-headers | awk '$3 == 0 '
mKube get deployments --context cs-prod2 -l app=hollow-producer --no-headers -L name | awk '$3 == 0 '
mKube get deployments --context cs-prod2 --no-headers -L name | awk '$3 == 0 '
If you require immediate assistance, please contact:
sudo apt-get update
sudo apt-get upgrade
kp cs-dev -l app=edge
kp cs-staging -l app=edge
kp cs-dev -l app=edge -L routeoffer
myS -t --tail 300 -l 'version=2.3.0' --context cs-dev
cd ~/bin
l
gDP
gSP
gD
startDay
oP getGRMRouteOffer.sh
curl -k -s "https://10.223.19.241:46838/info"
curl -k -s "https://10.223.19.241:46838/info" | jq .
http "https://10.223.19.241:46838/info"
http --help
http --verify no "https://10.223.19.241:46838/info"
myS -t --tail 300 -l 'version=2.3.0' --context cs-staging
myS -t --tail 300000 -l 'version=2.3.0' --context cs-staging -e ".*400.*"
myS -t --tail 300 -l 'version=2.3.0' --context cs-staging -e ".*400.*"
getGRMRouteOffer.sh
kp cs-staging -l app=edge -L routeoffer
myS -t --tail 30000 -l 'version=2.3.0' --context cs-staging -e ".*400.*"
exec bash
myS -t --tail 30000 -l 'version=2.3.0' --context cs-staging -e ".*400.*"
exec bash
myS -t --tail 3 -l 'version=2.3.0' --context cs-staging -e ".*400.*" | grep Status Code
myS -t --tail 3 -l 'version=2.3.0' --context cs-staging -e ".*400.*" | grep "Status Code"
myS -t --tail 3 -l 'version=2.3.0' --context cs-staging -e ".*400.*"
myS -t --tail 3 -l 'version=2.3.0' --context cs-staging -e ".*400.*" | grep "Status Code\|Caller-Name"
myS -t --tail 3 -l 'version=2.3.0' --context cs-staging -e ".*400.*" | grep "Status Code|Caller-Name"
myS -t --tail 30 -l 'version=2.3.0' --context cs-staging -e ".*400.*" | grep "Status Code|Caller-Name"
kubectl get pods -l name=edge-2-3-0 --context cs-staging -o json
myS -t --tail 30 -l 'version=2.3.0' --context cs-staging -e ".*400.*" | grep "Status Code\|Caller-Name"
e
myS -t --tail 30 -l 'version=2.3.0' --context cs-staging -e ".*400.*" | grep "Status Code\|Caller-Name"
e
cd /
curl -s https://grm-edge.staging.aeg.cloud/GRMLWPService/v1/serviceEndPoint/getFromCache | jq -r '.serviceEndPointList[] | select(.name == "cs-catalogservice.edge") | [ .routeOffer, (.properties|map(select(.name=="branch").value)|join("|")) , .name, (.version|join(".")) , ("https://"+.hostAddress+":"+ .listenPort+"/info"), .registrationTime] | @tsv ' | awk '{print $0 " staging"}' | sort -k5n | nl
curl -s https://grm-edge.staging.aeg.cloud/GRMLWPService/v1/serviceEndPoint/getFromCache | jq -r '.serviceEndPointList[] | select(.name == "cs-catalogservice.edge") | [ .routeOffer, (.properties|map(select(.name=="branch").value)|join("|")) , .name, (.version|join(".")) , ("https://"+.hostAddress+":"+ .listenPort+"/info"), .registrationTime] | @tsv ' | awk '{print $0 " staging"}' | sort -k5n | column -t | nl
curl -s https://grm-edge.staging.aeg.cloud/GRMLWPService/v1/serviceEndPoint/getFromCache | jq -r '.serviceEndPointList[] | select(.name == "cs-catalogservice.edge")'
grep --color=none -oP "(?<=Request Body=)(.*)"
echo "app_jmx{mbean="tomcat",attribute="currentThreadsBusy",objectName="Tomcat:type=ThreadPool,name=\"https-jsse-nio-8443\"",} 19.0" | grep --color=none -oP "(?<=>* )(.*)"
echo "app_jmx{mbean="tomcat",attribute="currentThreadsBusy",objectName="Tomcat:type=ThreadPool,name=\"https-jsse-nio-8443\"",} 19.0" | grep --color=none -oP "(?<=.* )(.*)"
echo "app_jmx{mbean="tomcat",attribute="currentThreadsBusy",objectName="Tomcat:type=ThreadPool,name=\"https-jsse-nio-8443\"",} 19.0" | grep --color=none -oP "(?<= )(.*)"
myS -t --tail 30 -l 'version=2.3.0' --context cs-staging -e ".*Slow.*"
myS -t --tail 30 -l 'version=2.3.0,app=edge' --context cs-staging -e ".*Slow.*"
myS -t --tail 30 -l 'version=2.3.0,app=edge' --context cs-staging
myS -t --tail 30 -l 'version=2.3.0,app=edge' --context cs-staging | grep --color=none -oP "(?<=Status Code=)(.*)"
myS -t --tail 30 -l 'version=2.3.0,app=edge' --context cs-staging | grep --color=none -oP "Status Code=429"
myS -t --tail 30 -l 'version=2.3.0,app=edge' --context cs-staging | grep --color=none -oP "Status Code=429" | nl
exit
myS -t --tail 50 -l 'version=2.0.3' --context cs-prod2
myS -t --tail 5 -l 'version=2.0.3' --context cs-prod2
exit
curl -s -k "https://10.223.14.111:34296/prometheus" | grep "jsse-nio-8443"
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "jsse-nio-8443";sleep 10;done
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "currentThreadsBusy";sleep 10;done
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "currentThreadsBusy";date ; sleep 10;done
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "currentThreadsBusy.*$";date ; sleep 10;done
exit
exit
192.168.1.9
ssh 192.168.1.9
sudo rsync -chavzP --stats --exclude=".[!.]*" /home/svarkey [email protected]:/media/svarkey/c2369e5a-0d4c-425b-8e60-8fb5f137d43c/newLaptop
att
tail -f /tmp/1 2>/dev/null
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "currentThreadsBusy.*$";date ; sleep 10;done
e
myS -t --tail 5 -l 'version=2.0.3' --context cs-prod2
exit
curl -s -k "https://10.223.14.111:34296/prometheus" | grep "jsse-nio-8443"
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "jsse-nio-8443";sleep 10;done
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "currentThreadsBusy";sleep 10;done
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "currentThreadsBusy";date ; sleep 10;done
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "currentThreadsBusy.*$";date ; sleep 10;done
exit
exit
192.168.1.9
ssh 192.168.1.9
sudo rsync -chavzP --stats --exclude=".[!.]*" /home/svarkey [email protected]:/media/svarkey/c2369e5a-0d4c-425b-8e60-8fb5f137d43c/newLaptop
att
while true ;do curl -s -k "https://10.223.14.111:34296/prometheus" | grep "currentThreadsBusy.*$";date ; sleep 10;done
kC rate.limiting.enabled
uR dhd
uR khe
uR ked
kubectl get pods --context cs-staging
MEM=28 bash -x patchD name=hollow-producer-372-0-3
seq 1 3 | xargs -I{} -n 1 -P 4 kubectl patch deployment --context cs-prod{} hollow-producer-372-0-3 --patch="$(cat ~/tmp/test.yml)"
configMap hollow-producer-372-0-3 cs-prod2 | tee /tmp/SanchuVarkey/1.txt
configMap hollow-producer-1-2-9 cs-prod2 | tee /tmp/SanchuVarkey/2.txt
cd /tmp/SanchuVarkey
meld 1.txt 2.txt
kubectl get po --context cs-prod2 -l app=hollow-producer
seq 3 |xargs -I{} -n 1 -P 4 mKube get pods -o=jsonpath='{range .items[*]}{.metadata.name}{"|"}{.metadata.creationTimestamp}{"|"}{.status.containerStatuses[*].restartCount}{"|"}{.status.containerStatuses[*].lastState.terminated.exitCode}{"|"}{.status.containerStatuses[*].lastState.terminated.reason}{"|"}{.status.containerStatuses[*].lastState.terminated.startedAt}{"|"}{.status.containerStatuses[*].lastState.terminated.finishedAt}{"|"}{.metadata.labels.routeoffer}{"|"}{.metadata.labels.version}{"|"}{.spec.containers[].resources.limits.cpu}{"|"}{.spec.containers[].resources.limits.memory}{"\n"}{end}' --context cs-prod{} -l app=hollow-producer | column -t -s"|" -o " "| sort -k3,3n
kubectl get pods -o json -n kube-system | jq -r '.items[] | .metadata.name + " \n Container name: " + .spec.containers[].name + " \n Req. RAM: " + .spec.containers[].resources.requests.memory + " \n Lim. RAM: " + .spec.containers[].resources.limits.memory + " \n Req. CPU: " + .spec.containers[].resources.requests.cpu + " \n Lim. CPU: " + .spec.containers[].resources.limits.cpu + " \n Req. Eph. DISK: " + .spec.containers[].resources.requests["ephemeral-storage"] + " \n Lim. Eph. DISK: " + .spec.containers[].resources.limits["ephemeral-storage"] + "\n"'
kubectl get pods -o json --context cs-prod2 -l app=hollow-producer | jq -r '.items[] | .metadata.name + " \n Container name: " + .spec.containers[].name + " \n Req. RAM: " + .spec.containers[].resources.requests.memory + " \n Lim. RAM: " + .spec.containers[].resources.limits.memory + " \n Req. CPU: " + .spec.containers[].resources.requests.cpu + " \n Lim. CPU: " + .spec.containers[].resources.limits.cpu + " \n Req. Eph. DISK: " + .spec.containers[].resources.requests["ephemeral-storage"] + " \n Lim. Eph. DISK: " + .spec.containers[].resources.limits["ephemeral-storage"] + "\n"'
kubectl get pods -o json --context cs-prod2 -l app=hollow-producer | jq -r '.items[] | .metadata.name + " \n Container name: " + .spec.containers[].name + " \n Req. RAM: " + .spec.containers[].resources.requests.memory + " \n Lim. RAM: " + .spec.containers[].resources.limits.memory + " \n Req. CPU: " + .spec.containers[].resources.requests.cpu + " \n Lim. CPU: " + .spec.containers[].resources.limits.cpu + "\n"'
kubectl get pods -o json --context cs-prod2 -l app=hollow-producer | jq -r '.items[] | .metadata.name + " \n Container name: " + .spec.containers[].name + " \n Req. RAM: " + .spec.containers[].resources.requests.memory + " \n Lim. RAM: " + .spec.containers[].resources.limits.memory + " Req. CPU: " + .spec.containers[].resources.requests.cpu + " \n Lim. CPU: " + .spec.containers[].resources.limits.cpu + "\n"'
kubectl get pods -o json --context cs-prod2 -l app=hollow-producer | jq -r '.items[] | .metadata.name + " \n Container name: " + .spec.containers[].name + " \n Req. RAM: " + .spec.containers[].resources.requests.memory + " \n Lim. RAM: " + .spec.containers[].resources.limits.memory + " Req. CPU: " + .spec.containers[].resources.requests.cpu + " Lim. CPU: " + .spec.containers[].resources.limits.cpu + "\n"'
kubectl get pods -o json --context cs-prod2 -l app=hollow-producer | jq -r '.items[] | .metadata.name + " Container name: " + .spec.containers[].name + " Req. RAM: " + .spec.containers[].resources.requests.memory + " Lim. RAM: " + .spec.containers[].resources.limits.memory + " Req. CPU: " + .spec.containers[].resources.requests.cpu + " Lim. CPU: " + .spec.containers[].resources.limits.cpu + "\n"'
kubectl get pods -o json --context cs-prod2 -l app=hollow-producer | jq -r '.items[] | .metadata.name + " Container name: " + .spec.containers[].name + " Req. RAM: " + .spec.containers[].resources.requests.memory + " Lim. RAM: " + .spec.containers[].resources.limits.memory + " Req. CPU: " + .spec.containers[].resources.requests.cpu + " Lim. CPU: " + .spec.containers[].resources.limits.cpu + "\n"' | column -t
kubectl get pods -o json --context cs-prod2 -l app=hollow-producer | jq -r '.items[] | .metadata.name + " Container: " + .spec.containers[].name + " Req. RAM: " + .spec.containers[].resources.requests.memory + " Lim. RAM: " + .spec.containers[].resources.limits.memory + " Req. CPU: " + .spec.containers[].resources.requests.cpu + " Lim. CPU: " + .spec.containers[].resources.limits.cpu + "\n"' | column -t
kubectl get pods -o json --context cs-prod2 -l app=hollow-producer | jq -r '.items[] | .metadata.name + " Container: " + .spec.containers[].name + " Req.RAM: " + .spec.containers[].resources.requests.memory + " Lim.RAM: " + .spec.containers[].resources.limits.memory + " Req.CPU: " + .spec.containers[].resources.requests.cpu + " Lim.CPU: " + .spec.containers[].resources.limits.cpu + "\n"' | column -t
kubectl get pods -o json --context cs-prod2 -l app=hollow-producer | jq -r '.items[] | .metadata.name + " Container: " + .spec.containers[].name + " Req.RAM: " + .spec.containers[].resources.requests.memory + " Lim.RAM: " + .spec.containers[].resources.limits.memory + " Req.CPU: " + .spec.containers[].resources.requests.cpu + " Lim.CPU: " + .spec.containers[].resources.limits.cpu + "\n"' | column -t | sort -k5,5n
kubectl get po --context cs-prod2 -o json --field-selector="status.phase!=Running"
kubectl get po --context cs-prod4 --field-selector="status.phase=Running"
kubectl get po --context cs-prod4 --field-selector="status.phase!=Running"
kubectl get po --context cs-prod4 -o json --field-selector="status.phase!=Running"
kubectl get po --context cs-prod4 -o json --field-selector="status.phase!=Running" | tee dd && code dd