05-11-2003
You can use
lastcomm
I used that command to track my users on AIX RS6000 Server
http://btrcx1.cip.uni-bayreuth.de/cg...ges/lastcomm/8
it outputs information about all previously executed commands that are recorded in the /var/adm/pacct file in reverse chronological order.
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi!! Experts,
I have a typical scenario here in which several users have access to a particular login .. say "build".
None of the users know the passwd for this login.
The name of some of the user have been to .rhosts file.
The users can connect only by doing a rlogin to this id and then... (4 Replies)
Discussion started by: jyotipg
4 Replies
2. Shell Programming and Scripting
hi,
i need help writing shell scripts to define patterns of user activities on our apache.
i thought about going through logfiles and other places where user activities are stored and use that data to define patterns of action. i want these patterns to be visualized then.
now my... (3 Replies)
Discussion started by: rocketkids
3 Replies
3. Shell Programming and Scripting
I need my for loop to do 2 things at a time. I have a script where I move the old files into archive directory and then i want to compress them. Presently I am using 2 for loops for it. How can i do it in 1 for loop.
Code:
after this i am compresing them in another for loop: (3 Replies)
Discussion started by: dsravan
3 Replies
4. Red Hat
Hi All,
I have a RPM for an Java based application. Currently it works fine.
But recently I want to implement that when newer packages gets installed over the older one, the rpm should only update the older files with the newer one (I know this could be done by rpm -Uvh xxx.rpm), but it... (0 Replies)
Discussion started by: jw_amp
0 Replies
5. Solaris
Greetings to all.
I need help from the experts. I have been given a FTP server script that runs all day, looking for files that are FTP'd to our machines. Its hoaky I know, but there are times that files are sent but somehow get lost. Is there a logfile I can view to see when files are received?
... (1 Reply)
Discussion started by: Harleyrci
1 Replies
6. SuSE
SUSE Linux 11 and 10 SP3.
I am trying to capture some of my activities in SYSLOG file, /var/log/messages.
To do this I created and dropped some test files and directories and users. But these activities are not captured in /var/log/messages. What should I do to make these activities... (7 Replies)
Discussion started by: JDBA
7 Replies
7. AIX
Hello,
could someone tell me if there's a function as on SOLARIS : EYE, to identify the function of server.
Thank you, (4 Replies)
Discussion started by: rimob
4 Replies
LEARN ABOUT REDHAT
glulookat
GLULOOKAT(3G) GLULOOKAT(3G)
NAME
gluLookAt - define a viewing transformation
C SPECIFICATION
void gluLookAt( GLdouble eyeX,
GLdouble eyeY,
GLdouble eyeZ,
GLdouble centerX,
GLdouble centerY,
GLdouble centerZ,
GLdouble upX,
GLdouble upY,
GLdouble upZ )
PARAMETERS
eyeX, eyeY, eyeZ
Specifies the position of the eye point.
centerX, centerY, centerZ
Specifies the position of the reference point.
upX, upY, upZ Specifies the direction of the up vector.
DESCRIPTION
gluLookAt creates a viewing matrix derived from an eye point, a reference point indicating the center of the scene, and an UP vector.
The matrix maps the reference point to the negative z axis and the eye point to the origin. When a typical projection matrix is used, the
center of the scene therefore maps to the center of the viewport. Similarly, the direction described by the UP vector projected onto the
viewing plane is mapped to the positive y axis so that it points upward in the viewport. The UP vector must not be parallel to the line of
sight from the eye point to the reference point.
Let
centerX - eyeX
F=(centerY - eyeY)
centerZ - eyeZ
Let UP be the vector (upX,upY,upZ).
Then normalize as follows: f=_____
UP'=______
Finally, let s=fxUP', and u=sxf.
s[0] s[1] s[2] 0
M is then constructed as follows: M=(u[0] u[1] u[2] 0)
-f[0] -f[1] -f[2] 0
0 0 0 1
and gluLookAt is equivalent to glMultMatrixf(M); glTranslated (-eyex, -eyey, -eyez);
SEE ALSO
glFrustum(3G), gluPerspective(3G)
GLULOOKAT(3G)