10 More Discussions You Might Find Interesting
1. Red Hat
For years I have spawned shell scripts with nohup and ampersand and they run whether or not I stay logged in. Recently a client told us that we had to set a keep alive timeout on all of our Redhat 7.6 Linux servers. Our sysadmin set the following parameters in the sshd_config file on all of our... (10 Replies)
Discussion started by: gandolf989
10 Replies
2. UNIX for Beginners Questions & Answers
My SSH to server got frozen after idle for a couple of hours.
My related configuration are:
In my /etc/ssh/sshd_config:
------------------------------------------
ClientAliveInterval 30
ClientAliveCountMax 4
TCPKeepAlive yes
------------------------------------------
and my ~/.ssh/config:... (6 Replies)
Discussion started by: yifangt
6 Replies
3. Infrastructure Monitoring
Sorry if this is the wrong forum
Searching for Saas Monitor service which monitor my servers which are sitting in different providers .
This monitor tool will take as less CPU as possible , and will send info about the server to main Dashboard.
The info I need is CPU / RAM / my servers status (... (1 Reply)
Discussion started by: umen
1 Replies
4. Solaris
Hello,
I have enabled defaultfixed and added the net0 per the solaris 11 documentation. I'm able to ping outside like google and internally but I'm just not sure why the gnome network utility shows wired(net0) as disconnected. Any ideas? Thank you
---------- Post updated 04-08-15 at 08:47 AM... (0 Replies)
Discussion started by: solaris128
0 Replies
5. Red Hat
All,
Trying to ftp to a remote ftp server.
See following output:
ftp -dv xx.xx.xx.xx
Connected to xx.xx.xx.xx (xx.xx.xx.xx).
220 Microsoft FTP Service
Name (xx.xx.xx.xx:username): ftpuser
---> USER ftpuser
331 Password required for ftpuser.
Password:
---> PASS XXXX
230 User logged... (1 Reply)
Discussion started by: Tommyk
1 Replies
6. Red Hat
I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable
Reboot with lan cable:
The hostname is ubunut
Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies
7. Programming
Hi,
I want to code TCP/IP client/server in linux application capable to fastly detect ethernet cable disconnection in any condition.
So I have activate SO_KEEPALIVE options and set TCP_KEEPCNT, TCP_KEEPIDLE and TCP_KEEPINTVL to 1.
When I disconnect ethernet cable I have the following... (5 Replies)
Discussion started by: jeje_clb
5 Replies
8. HP-UX
Hi,
I have a few questions.
There is a CORBA connection between 2 HP-UX 11.11i hosts.
Then the LAN of the 2nd host is pulled.
On the 1st host all connections disappear, as expected.
But on the 2nd host all connections still are present, as established.
With lsof one can see that the... (2 Replies)
Discussion started by: ejdv
2 Replies
9. Solaris
hi all
How to reconnect to a disconnected remote ssh session on solaris 10
is there any way (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies
10. Solaris
Hi all,
Is there any difference between a null modem cable or a modem cable ?
i assume that a null modem cable is a normal cable that i used from cpu serial ports to a modem for dialup.
please correct if i am wrong,
thks (2 Replies)
Discussion started by: waterbear
2 Replies
CAL(1) BSD General Commands Manual CAL(1)
NAME
cal, ncal -- displays a calendar and the date of Easter
SYNOPSIS
cal [-3hjy] [-A number] [-B number] [[month] year]
cal [-3hj] [-A number] [-B number] -m month [year]
ncal [-3bhjJpwySM] [-A number] [-B number] [-s country_code] [[month] year]
ncal [-3bhJeoSM] [-A number] [-B number] [year]
ncal [-CN] [-H yyyy-mm-dd] [-d yyyy-mm]
DESCRIPTION
The cal utility displays a simple calendar in traditional format and ncal offers an alternative layout, more options and the date of Easter.
The new format is a little cramped but it makes a year fit on a 25x80 terminal. If arguments are not specified, the current month is dis-
played.
The options are as follows:
-h Turns off highlighting of today.
-J Display Julian Calendar, if combined with the -e option, display date of Easter according to the Julian Calendar.
-e Display date of Easter (for western churches).
-j Display Julian days (days one-based, numbered from January 1).
-m month
Display the specified month. If month is specified as a decimal number, it may be followed by the letter 'f' or 'p' to indicate the
following or preceding month of that number, respectively.
-o Display date of Orthodox Easter (Greek and Russian Orthodox Churches).
-p Print the country codes and switching days from Julian to Gregorian Calendar as they are assumed by ncal. The country code as deter-
mined from the local environment is marked with an asterisk.
-s country_code
Assume the switch from Julian to Gregorian Calendar at the date associated with the country_code. If not specified, ncal tries to
guess the switch date from the local environment or falls back to September 2, 1752. This was when Great Britain and her colonies
switched to the Gregorian Calendar.
-w Print the number of the week below each week column.
-y Display a calendar for the specified year. This option is implied when a year but no month are specified on the command line.
-3 Display the previous, current and next month surrounding today.
-1 Display only the current month. This is the default.
-A number
Months to add after. The specified number of months is added to the end of the display. This is in addition to any date range
selected by the -y, -3, or -1 options. For example, ``cal -y -B2 -A2'' shows everything from November of the previous year to Febru-
ary of the following year. Negative numbers are allowed, in which case the specified number of months is subtracted. For example,
``cal -y -B-6'' shows July to December. And ``cal -A11'' simply shows the next 12 months.
-B number
Months to add before. The specified number of months is added to the beginning of the display. See -A for examples.
-C Switch to cal mode.
-N Switch to ncal mode.
-d yyyy-mm
Use yyyy-mm as the current date (for debugging of date selection).
-H yyyy-mm-dd
Use yyyy-mm-dd as the current date (for debugging of highlighting).
-M Weeks start on Monday.
-S Weeks start on Sunday.
-b Use oldstyle format for ncal output.
A single parameter specifies the year (1-9999) to be displayed; note the year must be fully specified: ``cal 89'' will not display a calendar
for 1989. Two parameters denote the month and year; the month is either a number between 1 and 12, or a full or abbreviated name as speci-
fied by the current locale. Month and year default to those of the current system clock and time zone (so ``cal -m 8'' will display a calen-
dar for the month of August in the current year).
Not all options can be used together. For example, the options -y, -3, and -1 are mutually exclusive. If inconsistent options are given, the
later ones take precedence over the earlier ones.
A year starts on January 1.
SEE ALSO
calendar(3), strftime(3)
HISTORY
A cal command appeared in Version 5 AT&T UNIX. The ncal command appeared in FreeBSD 2.2.6. The output of the cal command is supposed to be
bit for bit compatible to the original Unix cal command, because its output is processed by other programs like CGI scripts, that should not
be broken. Therefore it will always output 8 lines, even if only 7 contain data. This extra blank line also appears with the original cal
command, at least on solaris 8
AUTHORS
The ncal command and manual were written by Wolfgang Helbig <helbig@FreeBSD.org>.
BUGS
The assignment of Julian-Gregorian switching dates to country codes is historically naive for many countries.
Not all options are compatible and using them in different orders will give varying results.
BSD
March 14, 2009 BSD