01-30-2011
I will post my response in few days..will check above workout provided by 'pludi' and will post the result soon.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, dear all, I am rather new to Unix and have this problem where I cant seem to ping from 1 host to another. The scenerio is as follows: -
1 QNX host->Eth->1 SCO host
the SCO host is configured with it's IP
the QNX host is configured with another IP
both in the same domain, ie, 172.20.3.XX... (3 Replies)
Discussion started by: gavon
3 Replies
2. IP Networking
The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies
3. Solaris
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies
4. Solaris
Hello
I have a server in it.siroe.com
I added it.siroe.com in /etc/resolv.conf.
I still can't ping the server.
any service to restart here?
any other file to edit?
thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I have a VM on Solaris 10 setup on a windows vista host machine.
1) Vista host i configure
VMnet 1: 10.1.1.10
Mask : 255.255.255.0
Subnet : 10.1.1.2
DNS : 10.1.1.100
2) Solaris on VM
Network device is on Custom(VMNET1)
IP : 10.1.1.4
Mask : 255.255.255.0
... (8 Replies)
Discussion started by: JuveZzZ
8 Replies
6. Windows & DOS: Issues & Discussions
Hello All,
I have searched and searched, but I am not finding any answers. Any help would be very welcome.
I have a home LAN centered around an Untangle gateway (up to date).
I have a Windows 7 PC and a Snow Leopard Mac
I also have two virtualized instances of windows (xp and 7) running... (1 Reply)
Discussion started by: toadtilley
1 Replies
7. Linux
Hi,
I am using win7 on my PC and installed VMware on it on which i am running linux
I am unable to ping my linux guest from my win machine,
but i can ping my windows host from linux guest :
Below is my system configuration
Linux
root@localhost ~]# ifconfig
eth0 Link... (9 Replies)
Discussion started by: chander_1987
9 Replies
8. Solaris
Hi All,
I am new to solaris environment and we are using Solaris 9
The problem is am unable to ping a particular server from from one of the solaris server
The traceroute also shows only * * * for all the 30 hops
I tried to check all the settings like
1) /etc/hosts -> contains the... (17 Replies)
Discussion started by: Sanjay255
17 Replies
9. Solaris
Dear,
I hope you all will be ok.
I have an issue with Solaris box running on x86 Blade.
I am unable to ping a node neither traceroute. I am able to do traceroute from oce0:6 port which have IP and subnet of same type which oce0:1 has.
details are as follows:
Problem:
root@rinams02:/#... (3 Replies)
Discussion started by: khaniqshahid
3 Replies
10. Solaris
Hello All,
Host - Windows 7 64 BIT
Guest OS - Solaris 10 64 on VMWARE workstation
Problem : I can not ping solaris VM from my host OS. please suggest the solution.
Host OS:ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : INPS01900LT
... (5 Replies)
Discussion started by: sunil_1111
5 Replies
LEARN ABOUT PHP
mongocommandcursor
MONGOCOMMANDCURSOR(3) 1 MONGOCOMMANDCURSOR(3)
The MongoCommandCursor class
INTRODUCTION
A command cursor is similar to a MongoCursor except that you use it for iterating through the results of a database command instead of a
normal query. Command cursors are useful for iterating over large result sets that might exceed the document size limit (currently 16MB) of
a single MongoDB.command(3) response.
While you can create command cursors using MongoCommandCursor.__construct(3) or the MongoCommandCursor.createFromDocument(3) factory
method, you will generally want to use command-specific helpers such as MongoCollection.aggregateCursor(3).
Note that the cursor does not "contain" the database command's results; it just manages iteration through them. Thus, if you print a cur-
sor (f.e. with var_dump(3) or print_r(3)), you will see the cursor object but not the result documents.
CURSOR STAGES
A MongoCommandCursor has two "life stages": pre- and post- command. When a cursor is created, it has not yet contacted the database, so it
is in its pre-command state. When the client first attempts to get a result (by calling MongoCommandCursor.rewind(3), directly or indi-
rectly), the cursor moves into the post-command state.
The command cursor's batch size and socket timeout may be configured in both the pre- and post- command states.
Example #1
Adding options to MongoCommandCursor
<?php
$cursor = new MongoCommandCursor(...);
$cursor = $cursor->batchSize( 4 );
foreach ($cursor as $result) {
var_dump($result);
}
?>
CLASS SYNOPSIS
MongoCommandCursor
MongoCommandCursorMongoCursorInterfaceIterator
Methods
o public MongoCommandCursor MongoCommandCursor::batchSize (int $batchSize)
o public MongoCommandCursor::__construct (MongoClient $connection, string $ns, array $command = array())
o publicstatic MongoCommandCursor MongoCommandCursor::createFromDocument (MongoClient $connection, string $hash, array $document)
o public array MongoCommandCursor::current (void )
o public bool MongoCommandCursor::dead (void )
o public array MongoCommandCursor::getReadPreference (void )
o public array MongoCommandCursor::info (void )
o public int MongoCommandCursor::key (void )
o public void MongoCommandCursor::next (void )
o public array MongoCommandCursor::rewind (void )
o public MongoCommandCursor MongoCommandCursor::setReadPreference (string $read_preference, [array $tags])
o public MongoCommandCursor MongoCommandCursor::timeout (int $ms)
o public bool MongoCommandCursor::valid (void )
SEE ALSO
o MongoDB::command
o MongoCollection::aggregateCursor
PHP Documentation Group MONGOCOMMANDCURSOR(3)