05-28-2015
Command showing no output!
Hi Folks,
I have a situation here, where no command is giving any output, and it's not even showing any error message also.
What could be the reason?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
First time poster -
I have a huge file and i want to sort and compress it to something more readable
Ex:
FUTNCA01-SL1 DMT8a4 5 3
FUTNCA01-SL1 DMT8a4 5 9
FUTNCA01-SL1 DMT8a4 5 21
FUTNCA01-SL1 DMT8a4 5 22
FUTNCA01-SL1 DMT8a4 5 23
FUTNCA01-SL1 DMT8a4 5 24
FUTNCA01-SL1 DMT8a4 6 2... (13 Replies)
Discussion started by: jjoves
13 Replies
2. Shell Programming and Scripting
Hi!
Can anyone tell me what went wrong in my shell script?
for dt_val in `cut -f 1 -d '|' /prod/ods/satyaki/sqlldr/grp.dat`
do
echo $dt_val
done
And, the output is -
23
39 (7 Replies)
Discussion started by: satyakide
7 Replies
3. UNIX for Dummies Questions & Answers
Hi, I have the following file called addresses, (it is a large file i have only copy and pasted few of the data below) and I am wanting to write a command so it will Find the ratio of mobile (07....) to land line (01....) telephone numbers?
then find the most popular first name and list the... (1 Reply)
Discussion started by: tina_2010
1 Replies
4. Shell Programming and Scripting
Hi All
I am trying to run a script in linux wherein i have a command like this
grep ^prmAttunityUser= djpHewr2XFMAttunitySetup_ae1_tmp
djpHewr2XFMAttunitySetup_ae1_tmp is a temporary file in which the user value is stored but this command in the script returns me balnk value whereas it has a... (4 Replies)
Discussion started by: vee_789
4 Replies
5. Solaris
Hi,
This is Solaris-10 box and in few of file-system (root file-system of non global zones), usage/available is not showing correct size. I am not able to figure out, what is eating up this space.
Global Server - bdrpod01
Non Global zone - bdrpod01-zputq01
root@bdrpod01:/root# df -h... (2 Replies)
Discussion started by: solaris_1977
2 Replies
6. Shell Programming and Scripting
Hello
I am working on one script where I am trying to display all the directories which is inside the workspace but somehow it is giving me weird output and this is occurring only with one directory other also having the result.html file inside the directory.
for i in `ls -1 | egrep -iv... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies
7. Shell Programming and Scripting
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD
401 S catmgr 5748 5742 0 154 20 e0000006d48cd080 133 e0000003fb6e7200 11:22:32 ? 0:00 /opt/ssh/libexec/sftp-server
3401 R catmgr 5742 5631 0 152 20 e0000005f974fa00 750 ... (4 Replies)
Discussion started by: TomG
4 Replies
8. Shell Programming and Scripting
Hello scripting geeks,
I am new to scripting and facing some issues in writing the logic of the script. Request your kind help here
Actually when i run a command i get o/p as below
o/p :
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
these are hex values i guess...now i want to... (15 Replies)
Discussion started by: kulvant29
15 Replies
9. Shell Programming and Scripting
I am searching for a process that should be up and running. Im using the following command
ps -ef | grep elasticsearch
to get
elastic+ 1673 1 0 Jan29 ? 05:08:56 /bin/java -Xms4g -Xmx4g -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
10. Shell Programming and Scripting
Hi,
I have a test script where I am trying to make a line color in RED. It works when I execute the command from command line but when I try to send the output of the script via mailx it will not show me the color and instead show this output:
Command to send script output to email:
... (1 Reply)
Discussion started by: tkhan9
1 Replies
LEARN ABOUT DEBIAN
systemd-journalctl
SYSTEMD-JOURNALCTL(1) systemd-journalctl SYSTEMD-JOURNALCTL(1)
NAME
systemd-journalctl - Query the systemd journal
SYNOPSIS
systemd-journalctl [OPTIONS...] [MATCH]
DESCRIPTION
systemd-journalctl may be used to query the contents of the systemd(1) journal.
If called without parameter will show the full contents of the journal, starting with the oldest entry collected.
If a match argument is passed the output is filtered accordingly. A match is in the format FIELD=VALUE, e.g. _SYSTEMD_UNIT=httpd.service.
Output is interleaved from all accessible journal files, whether they are rotated or currently being written, and regardless whether they
belong to the system itself or are accessible user journals.
All users are granted access to their private per-user journals. However, by default only root and users who are members of the adm group
get access to the system journal and the journals of other users.
OPTIONS
The following options are understood:
--help, -h
Prints a short help text and exits.
--version
Prints a short version string and exits.
--no-pager
Do not pipe output into a pager.
--all, -a
Show all fields in full, even if they include unprintable characters or are very long.
--follow, -f
Show only most recent journal entries, and continously print new entries as they are appended to the journal.
--lines=, -n
Controls the number of journal lines to show, counting from the most recent ones. Takes a positive integer argument. In follow mode
defaults to 10, otherwise is unset thus not limiting how many lines are shown.
--no-tail
Show all stored output lines, even in follow mode. Undoes the effect of --lines=.
--output=, -o
Controls the formatting of the journal entries that are shown. Takes one of short, short-monotonic, verbose, export, json, cat. short
is the default and generates an output that is mostly identical to the formatting of classic syslog log files, showing one line per
journal entry. short-monotonic is very similar but shows monotonic timestamps instead of wallclock timestamps. verbose shows the full
structered entry items with all fiels. export serializes the journal into a binary (but mostly text-based) stream suitable for backups
and network transfer. json formats entries as JSON data structures. cat generates a very terse output only showing the actual message
of each journal entry with no meta data, not even a timestamp.
--quiet, -q
Suppresses any warning message regarding inaccessable system journals when run as normal user.
--new-id128
Instead of showing journal contents generate a new 128 bit ID suitable for identifying messages. This is intended for usage by
developers who need a new identifier for a new message they introduce and want to make recognizable. Will print the new ID in three
different formats which can be copied into source code or similar.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
ENVIRONMENT
$SYSTEMD_PAGER
Pager to use when --no-pager is not given; overrides $PAGER. Setting this to an empty string or the value cat is equivalent to passing
--no-pager.
SEE ALSO
systemd(1), systemctl(1), systemd-journald.conf(5)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 SYSTEMD-JOURNALCTL(1)