10-15-2008
palash2k. you need to be more specific with what unix os you are using. as what saurabh84g said, this will work with solaris. with with goutk said, this will work in a linux environment.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All
Im currntly working on a digital unix machine and must know what is the amount of MB\GB instaled ( i do not have physical access to the machine).
can anyone help me here?
10x!!!!!!!!!!!!!!! (1 Reply)
Discussion started by: dindan100
1 Replies
2. UNIX for Dummies Questions & Answers
Is it possible from the command line, or by looking at one of the log files to find out the amount of RAM installed on my SCO Unix 5.05 Server?
I also need to find out H/Disk size and Processor speed but I think i'll do a search of the forums for those ones.
Thanks
RamblasPro (2 Replies)
Discussion started by: RamblasPro
2 Replies
3. UNIX for Dummies Questions & Answers
Hello there,
I have a very basic question. It is so simple to find out all the information about system in windows environment. But I do not see any easy way to find it out in my Unix (Solaris 8) box.
All I want to find out how much RAM I have in my solaris 8 box.
Is there any command?
... (3 Replies)
Discussion started by: malikabid
3 Replies
4. Programming
Sir,
How can i get the RAM size .Is there is any predefined function ..Howsir???
Thanks In advance,
ArunKumar (6 Replies)
Discussion started by: arunkumar_mca
6 Replies
5. HP-UX
hi,
while i am working in hpux 11.23 using a telnet connection how do i check the RAM size and hard disk size? (4 Replies)
Discussion started by: sekar sundaram
4 Replies
6. AIX
Hi,
Am jus trying to find the Total RAM Size of a AIX m/c (in MB)..svmon works perfectly for a superuser...But i want to achive this as a normal user...Please help me out with correct command..
Best Regards,
Muthukumaran.M (3 Replies)
Discussion started by: muthukumaran13
3 Replies
7. Shell Programming and Scripting
I need to check ram size and currently free in sun solaris box (8 Replies)
Discussion started by: pmsuper
8 Replies
8. Shell Programming and Scripting
Hi Gurus,
Can someone let me know how to find the RAM size,ROM size and Number of processors for a linux server.
Version :Linux 2.4.9-e.57smp
Also what does "e.57smp" stands for?
Thanks in advance gurus.....
cheers. (3 Replies)
Discussion started by: navojit dutta
3 Replies
9. Red Hat
Can anyone let me know whether there is a command to know the RAM capacity in GB?
I have tried cat /proc/meminfo and free.But its not in GB. I need to use it in script.
Thanks and Regards (4 Replies)
Discussion started by: Rupaa
4 Replies
10. UNIX for Advanced & Expert Users
I am trying to find RAM size in my HP-UNIX server. what command I should use for this?
I am using top command but not clear about below line from top o/p
Memory: 1517080K (471284K) real, 1877692K (751256K) virtual, 8078944K free Page# 1/6 (3 Replies)
Discussion started by: venkatababu
3 Replies
LEARN ABOUT OPENDARWIN
exsprite
exsprite(3alleg4) Allegro manual exsprite(3alleg4)
NAME
exsprite - Datafiles access and sprite animation. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example exsprite
DESCRIPTION
This example demonstrates how to use datafiles, various sprite drawing routines and flicker-free animation.
Why is the animate() routine coded in that way? As you probably know, VIDEO RAM is much slower than "normal" RAM, so it's advisable to
reduce VRAM blits to a minimum. Drawing sprite on the screen (meaning in VRAM) and then clearing a background for it is not very fast.
This example uses a different method which is much faster, but require a bit more memory.
First the buffer is cleared (it's a normal BITMAP), then the sprite is drawn on it, and when the drawing is finished this buffer is copied
directly to the screen. So the end result is that there is a single VRAM blit instead of blitting/clearing the background and drawing a
sprite on it. It's a good method even when you have to restore the background. And of course, it completely removes any flickering effect.
When one uses a big (ie. 800x600 background) and draws something on it, it's wise to use a copy of background somewhere in memory and
restore background using this "virtual background". When blitting from VRAM in SVGA modes, it's probably, that drawing routines have to
switch banks on video card. I think, I don't have to remind how slow is it.
Note that on modern systems, the above isn't true anymore, and you usually get the best performance by caching all your animations in video
ram and doing only VRAM->VRAM blits, so there is no more RAM->VRAM transfer at all anymore. And usually, such transfers can run in parallel
on the graphics card's processor as well, costing virtually no main cpu time at all. See the exaccel example for an example of this.
SEE ALSO
BITMAP(3alleg4), DATAFILE(3alleg4), END_OF_FUNCTION(3alleg4), END_OF_MAIN(3alleg4), LOCK_FUNCTION(3alleg4), LOCK_VARIABLE(3alleg4),
SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), cir-
cle(3alleg4), clear_bitmap(3alleg4), clear_keybuf(3alleg4), create_bitmap(3alleg4), destroy_bitmap(3alleg4), draw_sprite(3alleg4),
draw_sprite_h_flip(3alleg4), draw_sprite_v_flip(3alleg4), draw_sprite_vh_flip(3alleg4), fixed(3alleg4), font(3alleg4), hline(3alleg4),
install_int_ex(3alleg4), install_keyboard(3alleg4), install_sound(3alleg4), install_timer(3alleg4), itofix(3alleg4), key(3alleg4), key-
pressed(3alleg4), load_datafile(3alleg4), makecol(3alleg4), palette_color(3alleg4), pivot_sprite(3alleg4), pivot_sprite_v_flip(3alleg4),
play_sample(3alleg4), rectfill(3alleg4), replace_filename(3alleg4), rest(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_pal-
ette(3alleg4), text_height(3alleg4), textout_centre_ex(3alleg4), unload_datafile(3alleg4), vsync(3alleg4)
Allegro version 4.4.2 exsprite(3alleg4)