Displaying 7 results from an estimated 7 matches for "ncommand".
Did you mean:
command
2003 Oct 17
1
Script Control of sftp
...ot;,
$descriptorspec,
$pipes
);
if (is_resource($process)) {
fwrite($pipes[0], $Password."\n");
fclose($pipes[0]);
while(!feof($pipes[1])) {
echo fgets($pipes[1], 1024);
}
fclose($pipes[1]);
$return_value = proc_close($process);
echo "\ncommand returned $return_value\n";
}
?>
--
Alan Little
Holotech Enterprises
2006 Dec 08
1
Douglas Garstang <dgarstang@oneeighty.com>
On Fri, 2006-12-08 at 04:26 -0700, Douglas Garstang wrote:
> Hi Steve.
>
> Thanks, but unfortunately, I can't be involved in that. We are
> running Asterisk in a production environment and we're using
> 1.2, not 1.4. I don't have the resources to work with 1.4.
> Last time I filed a bug against 1.2 I got told off.
>
2006 Jan 11
0
Asterisk Manager API and ZapBarge or ChanSpy
...lnet->print("Action: Originate\nChannel:
Local/8159\@default\nApplication: ChanSpy\nData: |q\nPriority:
1\n\n");
$telnet->waitfor('/Response: Success/');
# get all the local channels and look for the extension in use
$telnet->print("Action: Command\nCommand: Local Show Channels\n\n");
$telnet->waitfor('/Response: Follows/');
while (($line = $telnet->getline) && ($line !~ /END COMMAND/i)) {
push(@channels,$line);
}
# start the monitor
while ($line = pop(@channels)) {
$pattern = &...
2006 Dec 07
1
When does ufunc/func work?
...fileid, pid, pid);
}
and a script for actually profiling user and kernel functions:
BEGIN {
system("prun %d", $1);
}
/*
* The process we were launched to watch is terminating.
* We should also exit, because our work is done.
*/
proc:::exit
/pid == $1/
{
printf("\nCommand: %s\n", execname);
exit(0);
}
profile-997Hz
/arg1 != NULL && pid == $1/
{
@u[ufunc(arg1)] = count();
}
profile-997Hz
/arg2 != NULL/
{
@k[func(arg2)] = count();
}
END
{
printf("\nUser functions\n");
trunc(@u, 100);
printa(@u);...
2013 Oct 10
2
utils.c: fwrite() returned error: Broken pipe how to solve it ???
Dear all,
I want to make call through socket i have set code given below:
#!/usr/bin/perl -w
use IO::Socket::INET;
sub asterisk_command ()
{
# my $command=$_[0];
my
$ami=IO::Socket::INET->new(PeerAddr=>'127.0.0.1',PeerPort=>5038,Proto=>'tcp')
or die "failed to connect to AMI!";
print $ami "Action: Login\r\nUsername:
2010 Mar 31
3
[PATCH] Remove v2v-snapshot
...ommit succeeded
- if($eh->status != 0) {
- print STDERR user_message(__x("Failed to commit snapshot '{path}' ".
- "to backing store '{backingstore}'.".
- "\nCommand output was:\n{output}",
- path => $path,
- backingstore => $backing_path,
- output => $eh->output()));
-
- return -1;
- }
-
- # Delete...
2019 Oct 15
4
Splitting the large libguestfs repo
I got a little way into this. The two attached patches are
preliminary work.
My proposed split is:
libguestfs.git
common -> git submodule libguestfs-common.git
generator/
lib/
all language bindings
C based tools (eg. virt-df, virt-edit, guestfish)
guestfs-tools.git
common -> git submodule libguestfs-common.git