As of now, current issue is, we are installing a software which requires 1 GB of free swap space. Due to less space, that is failing. I was checking if I can make it work without adding more swap space. Here is vmstat output. Does it point to something ?
All,
I am using SOLARIS 7. I have formated my hard drive to consist of only 150MB of swap space. This isn't enough considering I am running Oracle. How do I create additional swap space?
Please list sources or commands.
PS mkswap doesn't work on my machine. ( I have swap and... (5 Replies)
Can you help. My server sunning solaris 9 on x86 platform pretty much hung for a few hours... I could not use telnet or ssh to the box - it kept refusing connection. A few hours later - I was able to log in again.
The server has not rebooted but here are the first errors in the messages log... (5 Replies)
Hi,
i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :-
1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024
1057 ls -l /root/myswapfile
1058 chmod 600 /root/myswapfile
1059 mkswap /root/myswapfile
1060 swapon /root/myswapfile
... (1 Reply)
Dear All,
I have a swap space of 16G available in Sol 10. I have allocated it as a seperate file system. But when the RAM Is full used , the system gets rebooted and the swap is not being used,.
Any reasons for this.
Rgds
Rj (5 Replies)
Hello all,
The issue is
# df -h /tmp
Filesystem size used avail capacity Mounted on
swap 4.0G 4.0G 8.7M 100% /tmp
# du -sh /tmp/
87M /tmp
By now you probably will say that this is open file destriptor issue.
Well no, nothing... (2 Replies)
hi all
I am having a t5240 server in that zone is there in /var/adm/messages i am getting the following warning
WARNING: /zoneroot/zonename-zone/root/tmp: File system full, swap
space limit exceeded
if a swap is getting full what can i do.
Please use code tags next time for your... (2 Replies)
Discussion started by: nikhil kasar
2 Replies
LEARN ABOUT PHP
ps_lineto
PS_LINETO(3) 1 PS_LINETO(3)ps_lineto - Draws a lineSYNOPSIS
bool ps_lineto (resource $psdoc, float $x, float $y)
DESCRIPTION
Adds a straight line from the current point to the given coordinates to the current path. Use ps_moveto(3) to set the starting point of
the line.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $x
- x-coordinate of the end point of the line.
o $y
- y-coordinate of the end point of the line.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Drawing a rectangle
<?php
$ps = ps_new();
if (!ps_open_file($ps, "rectangle.ps")) {
print "Cannot open PostScript file
";
exit;
}
ps_set_info($ps, "Creator", "rectangle.php");
ps_set_info($ps, "Author", "Uwe Steinmann");
ps_set_info($ps, "Title", "Lineto example");
ps_begin_page($ps, 596, 842);
ps_moveto($ps, 100, 100);
ps_lineto($ps, 100, 200);
ps_lineto($ps, 200, 200);
ps_lineto($ps, 200, 100);
ps_lineto($ps, 100, 100);
ps_stroke($ps);
ps_end_page($ps);
ps_delete($ps);
?>
SEE ALSO ps_moveto(3).
PHP Documentation Group PS_LINETO(3)