09-01-2017
This User Gave Thanks to jim mcnamara For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
I have a Sol system. The lock timeout is default 15 minutes. I tried to make it longer but cannot by
lock -t timeout
Anyon can tell me the cmd in solai for this please.
A thank in advance (2 Replies)
Discussion started by: part-time-user
2 Replies
2. Shell Programming and Scripting
Hi All,
I would like to know the file modification time till seconds in Unix. So I tried ls -e and it worked fine. This Solaris 5.10
-rw-rw-r-- 1 test admin 22 Sep 12 11:01:37 2008 test_message
But I am not able to run the same command in SOlaris 5.6 and also in AIX/HP
Is there... (3 Replies)
Discussion started by: rahulkav
3 Replies
3. Shell Programming and Scripting
Hi,
I am having the following problem.
test > hourOfDay=06 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime
180
test > hourOfDay=07 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime
120
test > hourOfDay=08 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime
bash: (9-08: value... (5 Replies)
Discussion started by: jbsimon000
5 Replies
4. Shell Programming and Scripting
I have an awk script, and want to introduce a time delay. How can I do this? (3 Replies)
Discussion started by: kristinu
3 Replies
5. Shell Programming and Scripting
Hi guys,
Im trying to subtract time in ksh script. i.e. basically im querying a database and i want to get the time 10mins before hand..(from)
in ksh
CurrMin=$(date "+%M")
from=`expr $CurrMin - 10`
to=$CurrMin
however if i run this i say at 2 or 3 mins past the hour, i.e.... (7 Replies)
Discussion started by: k00061804
7 Replies
6. UNIX for Advanced & Expert Users
Hi
I trying to get 5 mins ago time using below command
echo `date +%R -d "1 min ago"`
but this is giving only current time. Please help (6 Replies)
Discussion started by: cka
6 Replies
7. Solaris
Hi all,
I have just installed Solaris 10 on an old Fujitsu Primepower 650 which has been wiped clean. I haven't installed anything apart from the OS yet, so the machine is 99% idle.
I get long delays when logging in, first after entering the id then another long delay after entering a valid... (8 Replies)
Discussion started by: longjon
8 Replies
8. Red Hat
Hi Friends,
I am very much new to sendmail or any other mta. I just installed sendmail 8.14 on my rhel6 machine. I was trying to send email to local user but after entering the message when i press CTRL-D it simply hangs. I also tried sending email via mutt but again mutt also hangs. It sends... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies
9. Shell Programming and Scripting
Hi guys,
could you help to find a way to get the past 30 mins time in solaris.
version:
bash-3.00# uname -a
SunOS solaris 5.10 Generic_142910-17 i86pc i386 i86pc
I had tried the following ways, it works fine in GNU Linux, but doesn't work in Solaris.
# date
Tue Apr 2 01:01:49 CST... (4 Replies)
Discussion started by: ambious
4 Replies
10. Solaris
Hi,
I'm trying to send out mails from my server using mailx, however everytime I send one, it appears to be held in the /var/spool/mqueue for 44 mins before being sent.
I'm quite new to sendmail, so don't really know where to start with this /var/log/syslog displays the following:
Dec 16... (4 Replies)
Discussion started by: badoshi
4 Replies
LEARN ABOUT NETBSD
compat_ultrix
COMPAT_ULTRIX(8) BSD System Manager's Manual COMPAT_ULTRIX(8)
NAME
compat_ultrix -- setup procedure for ULTRIX compatibility on MIPS and VAX architectures
DESCRIPTION
NetBSD/mips and NetBSD/vax architectures can run Risc ULTRIX and VAX ULTRIX executables, respectively. However, you have to worry about the
legal issues of ensuring that you have a right to use any ULTRIX binaries on your machine.
Most executables will work. The exceptions include programs that use proprietary, ULTRIX-specific features (LAT, CI support, DECnet support)
and various system calls, ioctl()'s, or ULTRIX kernel semantics that are difficult to emulate (e.g. ULTRIX packetfilter) or buggy (e.g.
ULTRIX NIS).
All ULTRIX executables are static, so no shared libraries are required for ULTRIX compatibility. However, ULTRIX is based on a 4.3BSD alpha
release. ULTRIX commands and libraries are often much older than their NetBSD or even SunOS 4.x equivalents, and may require incompatible
configuration files.
SYSTEM CONFIGURATION FILES
Set up resolv.conf and svc.conf as below:
# mkdir -p /emul/ultrix/etc
# cd /emul/ultrix/etc
# egrep 'domain|nameserver' /etc/resolv.conf > ./resolv.conf
# cp -p /usr/share/examples/emul/ultrix/etc/* ./
/etc/resolv.conf
The ULTRIX resolver library only understands domain and nameserver lines in resolv.conf(5). You should create a copy of /etc/resolv.conf
containing only those commands and put it in /emul/ultrix/etc/resolv.conf. Note that the domain search order used by ULTRIX executables may
not be the same as native binaries; there is no good way around this.
/etc/svc.conf
ULTRIX uses /etc/svc.conf to select an ordered search of NIS, Hesiod, or local flat-file mappings. You should create an
/emul/ultrix/etc/svc.conf specifying either local files or bind (DNS) lookups for all ULTRIX name services.
SEE ALSO
resolv.conf(5)
BUGS
RISC ULTRIX NIS (YP) is known to not work. The ULTRIX NIS libraries have a consistent endian-ness bug. ULTRIX NIS client will not inter-
operate with the NetBSD ypbind(8) process. The only workaround is to use /etc/svc.conf to disable NIS (YP).
The ndbm hashed-password file used by ULTRIX are incompatible with the db hashed-password file used by NetBSD. There is no good solution for
this. NIS would be a good one, if ULTRIX NIS worked.
The API used by Xservers to talk to the kernel is currently compatible with ULTRIX 4.1. An implementation of the ULTRIX 4.2 Xws interface
(used by X11R6) is in progress.
A complete list of things which fail to work in ULTRIX compatibility mode should be added here.
BSD
January 16, 1999 BSD