Sponsored Content
Top Forums UNIX for Advanced & Expert Users View CrobJobs used by all users Post 302644307 by solaris040 on Monday 21st of May 2012 03:27:27 PM
Old 05-21-2012
does your account has priviliges of using sudo ? If not, and you are still looking for options, I am very eager to see others reply
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to view users in unix

Hi, Im newbie here and in unix as well. How can i view users in unix? Im viewed them in shadow file (i typed: vi /etc/shadow) but some unix (im confused if its unix or linux or bsd, but i think it has a little thing in common or differnce) has no shadow file?! What must i do to view the users... (6 Replies)
Discussion started by: jerome
6 Replies

2. UNIX for Dummies Questions & Answers

How to view my IP

I run Ubuntu server 7.04, to learn some *nix. I set up LAMP, DNS and FTP but I don't know how to view my ip. now I tried ifconfig but that didnt tell me what I wanted to know. so by what way can I do this without a gui and a website like ipchicken? (14 Replies)
Discussion started by: blowFish@ubuntu
14 Replies

3. Solaris

To restrict the users not to change the passwords for NIS users

Hi All, How to restrict the NIS users not to change their passwords in for NIS users?? and my NIS user is unable to login to at client location what could be the problem for this ? Any body can help me. Thanks in advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies

4. Solaris

Need to view all DB

Hi Gurus, How to view only a database files on solaris. Please do a reply at the earliest. Thanks | P.Bharathiraja (2 Replies)
Discussion started by: bharathiraja
2 Replies

5. Shell Programming and Scripting

Shell script for to view all users & groups history in root

Dear All, I want to know all users & group history in one file, for root terminal through shell or any other option (5 Replies)
Discussion started by: kpoobathi
5 Replies

6. Red Hat

Showing all users in 'users' and 'top' commands

Hi All, I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

7. Shell Programming and Scripting

Create multiple users with individual passwords to users

hi, i am new to shell scripts i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies

8. What is on Your Mind?

Moving from Desktop View to Mobile View

See attached video for a demo on how to move back and forth from the desktop view to the mobile view. Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on. Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies

9. UNIX for Beginners Questions & Answers

View my posts

How can I view a list of my posts.? (5 Replies)
Discussion started by: drew77
5 Replies
TM::IndexAble(3pm)					User Contributed Perl Documentation					TM::IndexAble(3pm)

NAME
TM::IndexAble - Topic Maps, Trait to provide lazy and eager indices SYNOPSIS
my $tm = new TM... # get any map use Class::Trait; Class::Trait->apply ($tm, "TM::IndexAble"); # apply the trait # add a lazy cache for subclassing and instanceOf $tm->index ({ axis => 'taxo' }); $tm->index ({ axis => 'taxo', closed => 0}); # the same, lazy is NOT closed # add eager cache (= index) for taxonometrics $tm->index ({ axis => 'taxo', closed => 1}); # eager is closed, will take some time # add index for characteristics $tm->index ({ axis => 'char'}); $tm->index ({ axis => 'char', closed => 1}); # can be closed as well # ditto for reification $tm->index ({ axis => 'reify'}); $tm->index ({ axis => 'reify', closed => 1}); # create index/caches, but separate from map itself $tm->index ({ axis => 'reify', closed => 0, detached => {} }); my %stats = $tm->index; # get current indices + statistics DESCRIPTION
Like TM::Index, this package also adds index/caching capabilities to any topic map stored via TM (or any of its subclasses). The difference, though, is that the index/caching functionality is added as a trait, and not via an explicit attachment. The indices are - by default - part of the map, and not standalone objects as with TM::Index. When you add an index/cache then you simply use precomputed navigation results for the TM methods "match_forall" and "is_reified" (but not used for "reifies"). As with TM::Index you can create caching (lazy indexing) and full indices (eager precaching). Map Attachment To enrich a map with an index/cache, you call the method "index" provided here. The index/cache will by default be stored inside the map. That may be convenient in most cases. If not - as with some storage techniques - you can detach the index to live within your scope. For that purpose you simply pass in an empty hash reference. It is then your responsibility to get rid of it afterwards. Having the index detached also opens the way for you to make the index persistent. INTERFACE
Methods Following methods are mixed into the class/object: index $tm->index ({ %spec }, ...) This method establishes one or more indices/caches to the topic map. Each cache/index is described with its own hash reference. Which navigation axes should be covered by a single cache/index is specified with the "axis" field. It can have as value one of the axes in TM::Axes, or one of the following values: "taxo" Shortcut for the axes: "subclass.type" "superclass.type" "class.type" "instance.type" "char" Shortcut for the axes: "char.topic" "char.value" "char.type" "char.type.value" "char.topic.type" "reify" To control whether a cache (lazy indexing) or a full index (eager caching) should be used, the field "closed" can have two values (default is 0): 0: The default is to keep the index lazy. In this mode the index is empty at the start and it will learn more and more on its own. In this sense, the index lives under an open world assumption (hence the name), as the absence of information does not mean that there is no result. 1: A closed world index has to be populated to be useful. If a query is launched and the result is stored in the index, then it will be used, like for an open index. If no result in the index is found for a query, the empty result will be assumed. Additionally, a field "detached" can be passed in for one cache/index. It MUST contain a hash reference. Example: $tm->index ( { axis => 'reify', closed => 0, detached => {} }, { axis => 'char', closed => 1 } ); The method returns a hash with some statistical information for every axis: "requests" Number of requests since inception of the index. "hits" Number of cache hits since inception. For an eager cache (i.e. index) this number should be the same as "requests" deindex $tm->deindex ($axis, ....) $tm->deindex ($index, ....) This method gets rid of certain indices/caches, as specified by their axes. Since v1.55: You can also pass in the hash reference of the index (in the detached case). Since v1.55: Also the expansion of axes (like for "index") works now. SEE ALSO
TM, TM::Index COPYRIGHT AND LICENSE
Copyright 20(10) by Robert Barta, <drrho@cpan.org> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-09-15 TM::IndexAble(3pm)
All times are GMT -4. The time now is 06:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy