10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Experts,
I want to merge my local file (File1) with the changes in remote server (File1). For Example:
File1 contents are... (file @ remote server)
ABC
<blankLine>
GHI
<EOF>
I, as USER#1, have updated the contents of File1 in my local as...
ABC
DEFGhi
<blankLine>
JKL... (2 Replies)
Discussion started by: AjMyTechGroup
2 Replies
2. Shell Programming and Scripting
Hi All,
I have a difficult problem (at least for me) and need your help.
Situation is like this, there are a lot of files in a lot of folders and some of them files are just versions of the same file saved by careful users . Once every few months I have to clean up and keep the last version of... (2 Replies)
Discussion started by: mihaicris
2 Replies
3. Shell Programming and Scripting
I am developing a script to maintain 'n' number of versions of a file. The script will take a filename as a parameter and the number of versions to maintain. This basically does something like a FIFO. Here is what I developed. But something is not right. I have attached the script. Can u pls help... (2 Replies)
Discussion started by: vskr72
2 Replies
4. Shell Programming and Scripting
Hi,
I am trying to SSH to a GDG file from UNIX to Mainframe and it is not transferring it and giving error.
I gave the following command and as can be seen I am using the relative number i.e +1 here:
ssh -v username@remote.host "mv -P RECFM=FB,LRECL=150 /homedir/username/test.dat... (0 Replies)
Discussion started by: pravle
0 Replies
5. UNIX for Dummies Questions & Answers
Hi All ,
I am trying to run a shell script through a JCL . The requirement is I have a gdg base name and I need to create a script that will just check if the latest version of that gdg has data or not . If it doesnt have data RC 4 need to be returned . One more thing which is bothering me is i... (1 Reply)
Discussion started by: mavesum
1 Replies
6. Shell Programming and Scripting
Hi All ,
I am trying to run a shell script through a JCL . The requirement is I have a gdg base name and I need to create a script that will just check if the latest version of that gdg has data or not . If it doesnt have data RC 4 need to be returned . One more thing which is bothering me is i... (3 Replies)
Discussion started by: mavesum
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Request Unix gurus to kindly share a script which FTPs multiple files from Unix to a Mainframe GDG.
The script should check for oldest file named as 'abc*.txt' in a directory '/dir/child'. FTP that file to MF, then remove the file from unix and then look for the next oldest file to be... (1 Reply)
Discussion started by: dsrookie
1 Replies
8. UNIX for Dummies Questions & Answers
Does anyone know how to emulate Mainframe's GDG (Generation Data Group) in AIX? (0 Replies)
Discussion started by: vidhya
0 Replies
9. AIX
Hi,
Does anyone have a solution they can share that will emulate Mainframe Generation Data Groups (GDG) on AIX?
Thank You in Advance for Your Help,
Lou (0 Replies)
Discussion started by: LouPelagalli
0 Replies
10. Shell Programming and Scripting
How can I find out in UNIX the number of superusers logged in at a system at a given time??? (2 Replies)
Discussion started by: deeptia
2 Replies
SYSTEMD-CGLS(1) systemd-cgls SYSTEMD-CGLS(1)
NAME
systemd-cgls - Recursively show control group contents
SYNOPSIS
systemd-cgls [OPTIONS...] [CGROUP...]
DESCRIPTION
systemd-cgls recursively shows the contents of the selected Linux control group hierarchy in a tree. If arguments are specified shows all
member processes of the specified control groups plus all their subgroups and their members. The control groups may either be specified by
their full file paths or are assumed in the systemd control group hierarchy. If no argument is specified and the current working directory
is beneath the control group mount point /sys/fs/cgroup shows the contents of the control group the working directory refers to. Otherwise
the full systemd control group hierarchy is shown.
OPTIONS
The following options are understood:
-h, --help
Prints a short help text and exits.
--no-pager
Do not pipe output into a pager.
-k
Include kernel threads in output.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
SEE ALSO
systemd(1), systemctl(1), systemd-cgtop(1), ps(1)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 SYSTEMD-CGLS(1)