10-10-2002
That should work just fine. I'm surprised you aren't taking an opportunity to upgrade the OS from 5.5.1 to Solaris 8 or 9.
Must be an old application.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I am using SunOS and HP-UX. I am trying to removed user that has not been using the system for a period of time. Is there anyway to find out how long since the last time the user logged on. I know there is command "last" that read from the file /etc/wtmp that hold some of information. ... (1 Reply)
Discussion started by: vtran4270
1 Replies
2. Shell Programming and Scripting
Hi,
i need a shell script that write in a file called sys.txt this:
<output of date command>
HN <host name>
OS <OS name> <OS version>
I can have this info with uname command, but I can't write these in sys.txt.
Can any one help me? (1 Reply)
Discussion started by: FastMagister
1 Replies
3. UNIX for Dummies Questions & Answers
I know this is prob a simple question but anyway here goes. I want to find out the owner of a certain file. I also want to find out what permissions that owner has. Is their any command that is similair to file in that it can tell men this specfic information about a file the way file tells you... (1 Reply)
Discussion started by: Quesa
1 Replies
4. UNIX for Dummies Questions & Answers
ok,
Newbie here.....
I just installed this solaris 10 for a class I'm taking. We couldn't figure out how to change the IP so we were told to just do it from the sys-uncofig process. Well, after I did that, I lost the GUI witch isn't all that bad cuz I want to learn the cli anyways, but I keep... (1 Reply)
Discussion started by: moesays
1 Replies
5. UNIX for Dummies Questions & Answers
How could I get the details about a user logged in a Unix system? ( WHat tasks did he perform or if he had changed any file or not)? Please answer my question. (1 Reply)
Discussion started by: s_dhar
1 Replies
6. Solaris
Hi
I would like to be able to take adhoc backups of my
systems using flash archive - flarcreate - and then
restore from them to the same system without having
to enter the basic configuration again when I boot
from the Solaris CD.
So, I'd like to be able to create a flar archive ... (1 Reply)
Discussion started by: emjs
1 Replies
7. AIX
Hello,
We just purchased two new 4-way (one active one failover) 5Ghz Power6 Servers (failover) with 64GB RAM (32GB per node) runing AIX 6.1 with two LPARs per node connected to our SAN with two 4GB HBAs. The PROD LPAR has 2 dedicated CPUs (4 virtual) and the TEST LPAR has 2 dedicated CPUs.
... (3 Replies)
Discussion started by: troym72
3 Replies
8. Shell Programming and Scripting
Hi I need help..........
I have an Sun One Directory server LDIF file with 5000 user entries, I need to change the data to match Test ID's, so I can run a perf test.
I'm way out of my league as I have not done any scripting for 10 years.
There are four entries for each user in the file... (3 Replies)
Discussion started by: Macdaddy99
3 Replies
LEARN ABOUT PLAN9
qwriter
qwriter(9F) Kernel Functions for Drivers qwriter(9F)
NAME
qwriter - asynchronous STREAMS perimeter upgrade
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
void qwriter(queue_t *qp, mblk_t *mp, void (*func)(), int perimeter);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
qp Pointer to the queue.
mp Pointer to a message that will be passed in to the callback function.
func A function that will be called when exclusive (writer) access has been acquired at the specified perimeter.
perimeter Either PERIM_INNER or PERIM_OUTER.
DESCRIPTION
qwriter() is used to upgrade the access at either the inner or the outer perimeter from shared to exclusive and call the specified callback
function when the upgrade has succeeded. See mt-streams(9F). The callback function is called as:
(*func)(queue_t *qp, mblk_t *mp);
qwriter() will acquire exclusive access immediately if possible, in which case the specified callback function will be executed before
qwriter() returns. If this is not possible, qwriter() will defer the upgrade until later and return before the callback function has been
executed. Modules should not assume that the callback function has been executed when qwriter() returns. One way to avoid dependencies on
the execution of the callback function is to immediately return after calling qwriter() and let the callback function finish the processing
of the message.
When qwriter() defers calling the callback function, the STREAMS framework will prevent other messages from entering the inner perimeter
associated with the queue until the upgrade has completed and the callback function has finished executing.
CONTEXT
qwriter() can only be called from an put(9E) or srv(9E) routine, or from a qwriter(), qtimeout(9F), or qbufcall(9F) callback function.
SEE ALSO
put(9E), srv(9E), mt-streams(9F), qbufcall(9F), qtimeout(9F)
STREAMS Programming Guide
Writing Device Drivers
SunOS 5.10 1 Mar 1993 qwriter(9F)