I am loging into a SunOS 5.8 box for the first time.
I do not see a .profile file in the home directory. Also on the command line when I type a backspace to correct my typing I get a ^H character. Where and how can I fix this?
Thanks in advance (5 Replies)
Hi,
I'm using the command usleep (500000) when compiling C++ on the SunOS platform, but it does not compile on a OSF1 platform?
Any ideas?
Thanks (5 Replies)
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Hi,
I have to backup the contents of an old SunOS to tape. The tape drive is being recognized by the operating system. However, the man pages for tar are a little different from the ones I have seen using Red Hat/Centos. On Centos to backup the entire contents of the / partition I could just... (1 Reply)
Hi All,
First my OS version is:
ksh:0$ uname -a
SunOS 5.9 Generic_122300-48 sun4u sparc SUNW,Sun-Fire-V440
I want to exclude the following DIR(./country111) in my search pattern:
ksh:0$ find . -name "*.tar"
./country111/COUNTRY_BATCH-801.tar
./country111/COUNTRY_BATCH-802.tar... (3 Replies)
Hi Bros,
I have a question want to receive your help.
On SunOS server. I have 1 file in /etc. mode of file is "read only". I've used chmod 777 commmand to change mode of that file. firstly, it's ok. but about 3 mins after that. The mode of that file rollback to "read only". I don't know how.... (4 Replies)
Hi,
I am little confuse after using
du -sk on file .
I have file listing like:
-rw-r--r-- 1 Xuser Ygrp 51419029531 Sep 21 07:40 catalina.out
when i issue cmd :
du -sk catalina.out
gives output as
1804511 catalina.out
This means 1804511 KB. Which means 1 GB.
... (3 Replies)
Hello to all,
May you help saying me how to flush a specific domain in Linux SunOS5
I know the command rndc is to flush DNS cache, but I would like to know:
1- How to do a flush only on specific domain
2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG... (2 Replies)
I am new to Solaris and compilation using make files.
I have a code base which is organized into different folders. At the root folder is a master make file and in the sub directories, there are make files for that particular folder.
In the make files present in subdirectories, I am seeing... (2 Replies)
Hi,
This command works
ggrep -v -F -x -f app1.txt app2.txt But, I don't have ggrep on SunOS Sparc so I tried using grep instead but it errors out
grep: illegal option -- F bash-2.03$ uname -a
SunOS mymac 5.8 Generic_Virtual sun4v sparc sun4v Can you help me with a grep command that... (6 Replies)
Discussion started by: mohtashims
6 Replies
LEARN ABOUT OSX
nanosleep
NANOSLEEP(2) BSD System Calls Manual NANOSLEEP(2)NAME
nanosleep -- suspend thread execution for an interval measured in nanoseconds
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <time.h>
int
nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
DESCRIPTION
The nanosleep() function causes the calling thread to sleep for the amount of time specified in rqtp (the actual time slept may be longer,
due to system latencies and possible limitations in the timer resolution of the hardware). An unmasked signal will cause nanosleep() to ter-
minate the sleep early, regardless of the SA_RESTART value on the interrupting signal.
RETURN VALUES
If nanosleep() returns because the requested time has elapsed, the value returned will be zero.
If nanosleep() returns due to the delivery of a signal, the value returned will be the -1, and the global variable errno will be set to indi-
cate the interruption. If rmtp is non-NULL, the timespec structure it references is updated to contain the unslept amount (the request time
minus the time actually slept).
ERRORS
The nanosleep() call fails if:
[EINTR] nanosleep() was interrupted by the delivery of a signal.
[EINVAL] rqtp specified a nanosecond value less than zero or greater than or equal to 1000 million.
SEE ALSO sigsuspend(2), sleep(3)STANDARDS
The nanosleep() function conforms to IEEE Std 1003.1b-1993 (``POSIX.1'').
BSD April 17, 1997 BSD