大家谁知道dbutil的用法啊
我只知道它的格式是:dbutil path <jobs|dbs> <name>
谁能帮我编写一个得到目前正在运行的料号所在的database所在的路径
谢谢! 还有说明一下dbutil的详细介绍
怎么没有高手来告知一下啊!自己顶起来!
dddddddddddddddddddd
dddddddddddddddddddd
dddddddddddddddddddd
dbutil path jobs YOUR_JOB
注意出错处理,dbutil 有可能因为timeout等问题,取不到.
dbutil 一下有命令的解释的吧!
ddddddddddddddddddddd
希望能帮助到你
The following functions are supported:
- dbutil import <db_name> [job1 ...]
db_name - name of database
jobn - dir of job to import
NOTE: moves the job directory into db
- dbutil import_copy <db_name> [job1 ...]
db_name - name of database
jobn - dir of job to import
NOTE: copies the job directory into db
- dbutil move <job_name> <db_name>
job_name - source job name
db_name - destination db
- dbutil rename <job_name> <new_name>
job_name - source job name
new_name - new job name (same db)
- dbutil copy <src_job> <dst_job> <dst_db>
src_job - source job name
dst_job - destination job name
dst_db - destination db name (optional)
- dbutil delete <job_name>
job_name - job to delete
- dbutil list <jobs|dbs> [wild]
list jobs or databases
wild - used to filter lists
- dbutil lock <mode> <job_name>
mode - 'in' to CHECK IN; 'out' to CHECK OUT; 'test' to
get state; 'list' to get list of jobs
job_name - name of job
lock list <by_job|by_user> [wild]
wild - used to filter list according to job or user
- dbutil check [y]
run a check on all databases
y - answer yes to all queries
- dbutil path <jobs|dbs> <name>
get path of job or database
name - name of job or database