Changeset 25027 for branches/pap/Nebulous/bin/neb-stat
- Timestamp:
- Aug 7, 2009, 4:08:25 PM (17 years ago)
- Location:
- branches/pap
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
Nebulous (modified) (1 prop)
-
Nebulous/bin (modified) (1 prop)
-
Nebulous/bin/neb-stat (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
-
branches/pap/Nebulous
- Property svn:mergeinfo deleted
-
branches/pap/Nebulous/bin
- Property svn:mergeinfo changed
-
branches/pap/Nebulous/bin/neb-stat
r18016 r25027 41 41 my $stat = $neb->stat($key); 42 42 die "nebulous key: $key not found" unless $stat; 43 my $instances = $neb->find_instances($key, ' :any');43 my $instances = $neb->find_instances($key, 'any'); 44 44 die "no instances found" unless $instances; 45 45 46 46 no warnings qw(uninitialized); 47 47 print 48 "object id: ", @$stat[0], "\n", 49 "key: ", @$stat[1], "\n", 50 "read lock: ", @$stat[2], "\n", 51 "write lock: ", @$stat[3], "\n", 52 "epoch: ", @$stat[4], "\n", 53 "mtime: ", @$stat[5], "\n", 54 "n instances: ", @$stat[6], "\n", 48 "object id: ", @$stat[0], "\n", 49 "key: ", @$stat[1], "\n", 50 "read lock: ", @$stat[2], "\n", 51 "write lock: ", @$stat[3], "\n", 52 "epoch: ", @$stat[4], "\n", 53 "mtime: ", @$stat[5], "\n", 54 "available instances: ", @$stat[6], "\n", 55 "total instances: ", @$stat[7], "\n", 55 56 "instance location:\n", " " x 4, 56 57 join("\n" . " " x 4, @$instances), "\n";
Note:
See TracChangeset
for help on using the changeset viewer.
