08-05-2007
Thanks
This will work.. I had missed this aspect.. Have some new thing in my Vocab now..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I usually ise find to search a file or name on the unix, since I am not administrator, there will be many line appear 'cannot access',usually a hundred of lines. How can I prevent this line coming out? only show I want?
The command I use is :
find / -name abcdef -print
Thank all expert. (1 Reply)
Discussion started by: zp523444
1 Replies
2. Programming
I am programatically trying to find CPU usage for a particular process. I am writing a C program for this. I am not sure if my approach is good at all. I first of all find the PID using getpid() method. Then I call top -f <filename> and then parse to reach the PID row. I then try to read the 10th... (3 Replies)
Discussion started by: asutoshch
3 Replies
3. AIX
my task : tar up large bunch of files(about 10,000 files) in the current directories that created more than 30 days ago
but it come with following error
find ./ -ctime +30 | xargs tar rvf test1.tar
tar: test1.tar: A file or directory in the path name does not exist. (3 Replies)
Discussion started by: darkrainbow
3 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Please help me out
1) Command to find the disk usage in GB. I know that du -k will give in kilobites.
2) How to find the Biggest file/folder in a given set of files/folders.
Thanks in advance
Regards,
Manas (8 Replies)
Discussion started by: manas6
8 Replies
5. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
6. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
7. UNIX for Dummies Questions & Answers
i have this basic piece of code to look for an aging file based on an input parameter.
pfile=$1
pdir=`pwd`
echo current directory $pdir
for i in `find . "$pfile" -mtime +540`
do
echo aging files $i
done
# put a white space
echo
the above code works and gives me the listing of... (6 Replies)
Discussion started by: wtolentino
6 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
9. UNIX for Dummies Questions & Answers
I need to find a file that has been modified in last 3-4 hours. mtime tells us about file modified in n days. Is there any way I can check for hours or minutes file modified or created before. (5 Replies)
Discussion started by: ankush_mehra
5 Replies
10. UNIX for Dummies Questions & Answers
Please can i use:
find /home/username/public_html/_sub/*/wp-content/*cache* -type f -delete
command to empty all folders contianing "cache" in wp-content directory.
issue is that in /home/username/public_html/_sub/
i have around 50 folders and i want to use this rule on all of them, so im... (3 Replies)
Discussion started by: postcd
3 Replies
LEARN ABOUT CENTOS
gluperspective
GLUPERSPECTIVE(3G) OpenGL Manual GLUPERSPECTIVE(3G)
NAME
gluPerspective - set up a perspective projection matrix
C SPECIFICATION
void gluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar);
PARAMETERS
fovy
Specifies the field of view angle, in degrees, in the y direction.
aspect
Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y
(height).
zNear
Specifies the distance from the viewer to the near clipping plane (always positive).
zFar
Specifies the distance from the viewer to the far clipping plane (always positive).
DESCRIPTION
gluPerspective specifies a viewing frustum into the world coordinate system. In general, the aspect ratio in gluPerspective should match
the aspect ratio of the associated viewport. For example, aspect = 2.0 means the viewer's angle of view is twice as wide in x as it is in
y. If the viewport is twice as wide as it is tall, it displays the image without distortion.
The matrix generated by gluPerspective is multipled by the current matrix, just as if glMultMatrix() were called with the generated matrix.
To load the perspective matrix onto the current matrix stack instead, precede the call to gluPerspective with a call to glLoadIdentity().
Given f defined as follows:
f = cotangent fovy 2 The generated matrix is
f aspect 0 0 0 0 f 0 0 0 0 zFar + zNear zNear - zFar 2 x zFar x zNear zNear - zFar 0 0 -1 0
NOTES
Depth buffer precision is affected by the values specified for zNear and zFar. The greater the ratio of zFar to zNear is, the less
effective the depth buffer will be at distinguishing between surfaces that are near each other. If
r = zFar zNear
roughly log 2 r bits of depth buffer precision are lost. Because r approaches infinity as zNear approaches 0, zNear must never be set to
0.
SEE ALSO
gluOrtho2D(), glFrustum(), glLoadIdentity(), glMultMatrix()
COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLUPERSPECTIVE(3G)