01-10-2008
How send break in T5220 Box?
Hi,
I used "send brk" from terminal in T5220 Box, but no response.
Anyone know what's reason?
Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone, I am new to HP/UX and I would like to know if there is a way to receive system alerts and logs via email on daily bases. Recently our system crashed due to Hard Disk failure, and since then we are checking ELM every day. I would like to automate that process and have UNIX mail send... (3 Replies)
Discussion started by: eurouno
3 Replies
2. UNIX for Advanced & Expert Users
Hi experts,
I need to send email form my sun box but i unable to send?
1) What Basic setting i have to check?
2) We have DNS server running on other system (ISP-DNS 202.62.64.3,Primary-DNS 192.168.10.4 slave-DNS 192.168.10.1)
3) what Files need to be check, what files need to be created.
... (1 Reply)
Discussion started by: saisivakumar
1 Replies
3. UNIX for Dummies Questions & Answers
rshstatus=`rsh -n lilo /db/p2/oracle/names9208/restart_names.sh`
if $rshstatus <>0 then
errstatus=1
mailx -s "xirsol8dr" ordba@xxx.com >> $log_dr
else if errstatus=0
echo "status to xirsol8dr successful"
can anyone provide if this is t he correct way to do this or is there a better way? (1 Reply)
Discussion started by: bpm12
1 Replies
4. Solaris
Does anyone know how to send break on a Blade 100?
I'm using a serial cable on my laptop and I can see the system boot up just fine, but I want to send break so i can have it boot from cdrom instead of disk. (3 Replies)
Discussion started by: em23
3 Replies
5. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
6. Shell Programming and Scripting
Greetings,
I am writing an Expect script to automate multiple processes on an HP-UX system. Everything has gone fine so far but I now have run into a problem. One of the processes that I'm trying to automate requires the key combination of ctrl break and I have so far been unable to figure out... (1 Reply)
Discussion started by: g_trueblood2000
1 Replies
7. Red Hat
we have an exchange server in company as excmailbocx.company.com
i wanna send mail using sendmail from redhat to my exchange mail account
how can it be possible? (1 Reply)
Discussion started by: oguzhantrg
1 Replies
8. Shell Programming and Scripting
Hi
I have input file in solaris machine and my question is..,how to send email that input file to Microsoft outlook 2010 in excel /xls format. (5 Replies)
Discussion started by: buzzme
5 Replies
9. Web Development
hi,
i have a list box , a text box and a button in a html form.
list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value.
can any1 give me a html and javascript code to do this facility.
... (1 Reply)
Discussion started by: Little
1 Replies
10. Shell Programming and Scripting
Team,
Presently I have a script, which i have set up cron on one of my Jump-boxes,and gives me the output on every hourly basis,fetching the data from the remote machine.Basically it gives me the list of all active users logged and its count once we execute the script.Here the count is... (6 Replies)
Discussion started by: whizkidash
6 Replies
brk(2) System Calls Manual brk(2)
NAME
brk, sbrk - Change space allocation
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <unistd.h>
int brk( void *addr );
void *sbrk( intptr_t incr );
The following function definitions do not conform to current standards and are supported only for backward compatibility:
int brk( char *addr );
void *sbrk( ssize_t incr );
void *sbrk( long incr );
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
brk(), sbrk(): XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Points to the effective address of the maximum available data. Specifies the number of bytes to be added to the current break. The value
of incr may be positive or negative.
DESCRIPTION
The brk() function sets the lowest data segment location not used by the program (called the break) to addr.
In the alternate function sbrk(), incr more bytes are added to the program's data space, and a pointer to the start of the new area is
returned.
When a program begins execution with the execve() function, the break is set at the highest location defined by the program and data stor-
age areas. Therefore, only programs with growing data areas should need to use sbrk().
The current value of the program break is reliably returned by ``sbrk(0)''. The getrlimit() function may be used to determine the maximum
permissible size of the data segment. It is not possible to set the break beyond the value returned from a call to the getrlimit() func-
tion.
If the data segment was locked at the time of the brk() function, additional memory allocated to the data segment by brk() will also be
locked.
NOTES
Programmers should be aware that the concept of a current break is a historical remnant of earlier UNIX systems. Many existing UNIX pro-
grams were designed using this memory model, and these programs typically use the brk() or sbrk() functions to increase or decrease their
available memory.
The use of the mmap() function is now preferred because it can be used portably with all other memory allocation functions and with any
function that uses other allocation functions.
RETURN VALUES
Upon successful completion, the brk() function returns a value of 0 (zero), and the sbrk function returns the prior break value. If either
call fails, a value of -1 is returned and errno is set to indicate the error.
ERRORS
If the brk() or sbrk() function fails, no additional memory is allocated and errno may be set to the following value: Indicates an attempt
to set a break value to less than the initial value at program startup. The requested change would allocate more space than allowed by the
limit as returned by the getrlimit() function.
RELATED INFORMATION
Functions: exec(2), getrlimit(2), malloc(3), mmap(2), plock(2).
Standards: standards(5) delim off
brk(2)